| | |
Browser issuses
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2008
Posts: 174
Reputation:
Solved Threads: 10
why does browsers have this different codes that really makes our heads ache.
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.
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.
Daylight-saving time uses more gasoline
![]() |
Other Threads in the HTML and CSS Forum
- Previous Thread: Two full-height columns
- Next Thread: Width Auto Resize to fit Screen
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






