IE is the nonconformist. It won't obey the W3C standards.
How to get web pages to behave:
1. Validate your code with the W3C validator.
http://validator.w3.org/
2. Don't put size styles (width, height) in the same tags that contain surrounding styles (margin, border, padding).
3. Don't expect div tags to expand to fill their containers. Some browsers do different things here.
4. Don't expect fonts to be the same line weight across browsers.
5. Set horizontal and vertical alignment for table cells. The defaults are different for different browsers.
6. Don't use absolute positioning or pixels. Different browsers render these differently, as do different screen resolutions.
Last edited by MidiMagic; Mar 24th, 2009 at 7:42 pm.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
Offline 3,314 posts
since Jan 2007