Ciao a tutti, vi chiedo scusa se vi interrogo su un argomento molto spesso discusso, ma ho consultato diversi thread sul forum e non comprendo il mio errore. Questo è il mio css:
codice:body { background-color: #000000; background-position:center top; margin: 0; text-align: left; padding: 0; overflow-x: hidden; overflow-y: hidden; } #wrapper { background-image: url("images/index.jpg"); background-position: center top; background-attachment: scroll; text-align: center; border: 0; background-repeat: no-repeat; position: relative; padding: 0px; margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; clear: both; width: 100%; }
Nonostante tutti questi accorgimenti, l'immagine usata come background del wrapper, e quindi il wrapper stesso, appare allineato a sx, invece di trovarsi al centro.
Come mai?
grazie!

Rispondi quotando
