Feb 24 2004

Nifty CSS trick

Published by Adam at 9:42 pm under ,

I was doing some design work on a new business web site and fighting some alignment issues with Mozilla and Internet Explorer. After a bit of digging I discovered this conditional comment feature of IE 5 and 6.


<!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="/css/ie5-fejl.css"></link>
<![endif]-->

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

This doesn’t solve the problem I’m working on, but I thought this was a neat enough trick. I’m glad I don’t have to deal with design issues like this on a daily basis. It’s frustrating enough to debug simple alignment issues.

2 responses so far

2 Responses to “Nifty CSS trick”

  1. hold emon 04 Mar 2005 at 9:51 am

    Please visit some information dedicated to wsop
    … Thanks!!!

  2. Georgetteon 03 Apr 2005 at 10:56 am

    ieojmwigcy poiuyt http://ghjklibiioaomeiw.com/

Trackback URI | Comments RSS

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes