You can tell I'm a newbie since I didn't know the best answer to a very common question.
Anyways I just read that article, and yes that would be a much better solution since it would fix your problem, AND allow for the div containers to expand if neccessary to hold more content and not cut it off.
About quirks mode: Basically when the browsers were updated, to prevent breaking existing sites with the stricter and more correct rules the browsers interpret the code with, the browsers were left in that mode unless you specified a strict doctype to put it in strict standards compliant mode.
Except of course IE has some more bugs concerning what will put it into or out of strict mode. For example: specifying any doctype with a url to the dtd will put IE into strict mode, and any xhtml doctype even without a dtd url will be put into strict mode. So people wanting to be in quirksmode for some reason will have to use the HTML doctype and leave out the dtd url or leave out the doctype entirely.
You want to always avoid quirksmode if possible because in standards-compliant mode there is better CSS support. However, if you wanted to use frames you'd have to use it in quirksmode. Also I think there are some fixes for problems that are semi to complete hackish that can only work in quirksmode and with no alternative to achieve it in strict mode.
Last edited by SillyWilly; 02-29-2008 at 02:24 AM..
|