Everything, Everything

2024: J F M A M J J A S O N
2023: J F M A M J J A S O N D
2022: J F M A M J J A S O N D
2021: J F M A M J J A S O N D
2020: J F M A M J J A S O N D
2019: J F M A M J J A S O N D
2018: J F M A M J J A S O N D
2017: J F M A M J J A S O N D
2016: J F M A M J J A S O N D
2015: J F M A M J J A S O N D
2014: J F M A M J J A S O N D
2013: J F M A M J J A S O N D
2012: J F M A M J J A S O N D
2011: J F M A M J J A S O N D
2010: J F M A M J J A S O N D
2009: J F M A M J J A S O N D
2008: J F M A M J J A S O N D
2007: J F M A M J J A S O N D
2006: J F M A M J J A S O N D
2005: J F M A M J J A S O N D
2004: J F M A M J J A S O N D
IE7 Is Odd
Saturday 18th February, 2006 17:25 Comments: 0
Very odd. With the doctype <!DOCTYPE html PUBLIC "-//W3C//DTD html 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> I get the page to work fine locally (aside from text going outside the box), but acts differently online (it ignores the new margin in the IE7 specific import).

Index page with doctype, viewed locally
Index page with doctype, viewed online

When I remove the doctype, it no longer looks okay locally (navbeta ignores the background, but navalpha works fine even though it uses exactly the same background css), but it looks pretty good online!

Index page without doctype, viewed locally
Index page without doctype, viewed online

I\'m about to try the XHTML 1.1 doctype, but I still don\'t know why it looks/acts differently online and locally! Stupid IE7.
© Robert Nicholls 2002-2024
The views and opinions expressed on this site do not represent the views of my employer.
HTML5 / CSS3