Firefox Sucks!
Firefox Sucks!
Out of context: Reply #37
- Started
- Last post
- 74 Responses
- shaft0
(Just in case you decide we're arguing here, this is one way to center the div:
Position it absolutely 50% in either direction, then set it's margins to be negative 1/2 it's height and width. Done. Finished. [except it doesn't work in IE unless you take the doctype out])
welded
(Feb 13 05, 10:49)
===================Why must we know the height and width at the time of html creation?
100% width and height table in quirksmode always works and I don't have to predict the height of the content. Why didn't those nerds come up with a simple and usable centering method?
These are the tiny things that make me think that quirksmode was the best way. It was html 4 adapting to real world needs.