Wizard Creek Consulting.

Website Construction

Tips on Website Construction
"Program construction consists of a sequence of refinement steps." Niklaus Wirth

You're settling for good when there's awesome.  Upgrade to Firefox 3.6!
Interesting Facts

Wednesday, July 18, 2007

CSS Tip - for different browsers.

A tip if you need different CSS files for different browsers.

<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="green.css">

<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="blue.css">

<![if !IE]>
<link rel="stylesheet" type="text/css" href="yellow.css">

The test page will have a green, blue or yellow background, depending of whether it is IE7, IE6 or any non-IE browser (FireFox).

Comments: Post a Comment

Links to this post:

Create a Link

<< Home

This page is powered by Blogger. Isn't yours?