First, start by writing standards compliant HTML with a valid Strict DOCTYPE - 
this is the best way to avoid most of the browser bugs in the first place.
(I recommend the HTML5 DOCTYPE for simplicity; <!DOCTYPE html> is all there is 
to it.)

Create one master stylesheet, and code it according to the CSS standards.
This should contain 90-95% of your styles.

Then, test the site with all relevant browsers, and create separate stylesheets 
for each browser/version, containing *only* the required workarounds to make 
these browsers acceptable.

With IE, you can use conditional comments to only load the relevant stylesheets 
- for other browsers, you need to use user-agent sniffing to ensure their 
styles are only loaded for them (either with CFML's CGI.USER_AGENT or jQuery's 
.browser ).



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321307
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to