Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorArun
    • CommentTimeFeb 7th 2006
     permalink
    How to Use Different CSS Style Sheets For Different Browsers (and How to Hide CSS Code from Older Browsers)

    http://www.thesitewizard.com/css/excludecss.shtml

    Please post more links
    • CommentAuthormista3
    • CommentTimeFeb 7th 2006
     permalink
    I was looking at the CSS on http://www.simplebits.com/ the other day, it's really well structured (try opening it up using the Web developer extension in FF) - was also interested to see that the IE hacks had been put into a seperate file altogether (http://www.simplebits.com/css/ie.css)
  1.  permalink
    You really shouldn't have to have a separate CSS for any browser other than IE. Mozilla, FF, Opera, Konq. and Safari are all updated regularly enough that a user won't have an older version for much longer than they need to.

    However, people still run IE 5.5+ so you need to use another CSS for them. The easiest way is with conditional comments:

    <!--[if IE]>
    <link rel="stylesheet" href="style.css" type="text/css" />
    <![endif]-->
    •  
      CommentAuthorJohnRiv
    • CommentTimeFeb 7th 2006
     permalink
    If you must hack, this chart is your friend: http://centricle.com/ref/css/filters/
Add your comments
    Username Password
  • Format comments as (Help)