• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

CSS: Browser Standards

txrandom

Diamond Member
I'm redoing my home page by making the PHP/MySQL secure and efficient along with updating the layout from tables and tags to mostly CSS.

I've been refreshing my site with Mozilla and it's turning out fine. But when I go into IE6, it's all messed up. I've been reading around and it sounds like you have to tell IE6 to be compliant. How do I tell IE6 to work with my website? Also, I don't have IE7 installed, will display CSS like IE6 or Firefox?
 
No, the box model hack is no longer that useful now that IE <6 is mostly a negligible market. What you want is a strict DOCTYPE to force standards-compliant mode on all browsers. I recommend HTML 4.01. Put this on the first line of your page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

IE7 has fixed some glaring bugs, but has also retained some. Either way you will probably need specific fixes for each browser.
 
Back
Top