Prova così: aggiungi un div che contenga #main e chiamalo tipo #container poi dai questo CSS ai due elementi:
codice:#container { width: 100%; } #main { display: table; text-align: center; margin: 0 auto; }
Prova così: aggiungi un div che contenga #main e chiamalo tipo #container poi dai questo CSS ai due elementi:
codice:#container { width: 100%; } #main { display: table; text-align: center; margin: 0 auto; }
Work hard. Code harder.