Most problems with modern CSS layout techniques have their origin in the way different browsers implement CSS. One useful tool to deal with these differences is Dean Edwards’ IE7 JavaScript library, which makes MSIE behave like a standards-compliant browser. This will solve a lot of other issues as well.
A common practice for dealing with cross-browser difficulties, especially with IE differences, is to include an IE-specific stylesheet only for those viewing the site from an IE browser. The following code illustrates:
<!--[if lte IE 8]><link rel="stylesheet">
Note that it should be placed AFTER all the other stylesheet statements in the <head></head> area.
Subjects: CSS, Site Design (Architecture, Coding, UI, etc.)
There Are No Comments
Click to Add the First »
Click to Add the First »