Quote:
Originally Posted by comport9
Not interested in validation ATM. Just testing out concepts and processes (This isn't the HTML that will be on my site...). Are you saying I can't center the div because my html isn't properly validated?
|
No, I'm saying your ul lists are not formed correctly.
Your div is not centered because you haven't told it to be.
To center an element you need three things:
- a valid DocType
- an element with a width
- that elements right/left margins set to auto