Thread: Div height
View Single Post
  #4 (permalink)  
Old 06-18-07, 07:10 AM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
Hmm, I think it didn't work in the original code because the doctype forced the browser into standard compliance mode. Then divs won't ever extent beyond their content unless you give them absolute dimensions, like you did.
But if you don't use the doctype, you get what's become known as "quirksmode", which is whatever the browser-makers prefer to do when there were no standards around or they simply disobeyed them
__________________
[W3Schools - learn all about the standards.] [QuirksMode - Browser Quirks] [MS's Online Reference Docs] [DOM in Gecko.]
Please pay attention to stickys, announcements and forum rules, thank you.
Please also remember Code Wrappers and [SOLVED] Marking, this helps everyone.
Reply With Quote