rocknbil - 4:47 pm on Jan 19, 2012 (gmt 0)
Well, if it works, it works, but your document is using a "half doctype" in both cases and is still rendering in Quirks mode, which will continue to give you cross browser grief. The first steps in cross browser compatibility:
- Use a full doctype to render in Standards Compliance mode. Choosing the best doctype for your site [webmasterworld.com] and Why most of us should NOT use XHTML [webmasterworld.com].
- Once you understand SCP and it's value, validate your documents [validator.w3.org].