Not signed in (Sign In)

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

Categories

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

    • CommentAuthortechunar
    • CommentTimeJun 24th 2008
     permalink
    Hello, is there any way to detect FF2 and apply style specific for only FF2? (not the html > body, any other..)
    • CommentAuthorarvana
    • CommentTimeJun 24th 2008
     permalink
    Not in pure CSS, but you can use conditional comments in the HTML to load a different stylesheet based on the user agent.
    • CommentAuthortechunar
    • CommentTimeJun 25th 2008
     permalink
    can you provide example please?
    •  
      CommentAuthoraleare
    • CommentTimeJun 25th 2008
     permalink
    Hi techunar,
    Conditional comments are useful and clean way to apply a different stylesheet depending if the browser is IE or not. This condition only loads a different stylesheet (style_ie.css by example) if the browser is IE (in general or any particular version), but if its not, loads the default stylesheet (style_all.css by example).
    Here you can find a lot of examples: http://msdn.microsoft.com/en-us/library/ms537512.aspx
    Hope this was clear and helpful for you

    Cheers!

    ,.-~º*( aleare )*º~-.,
Add your comments
    Username Password
  • Format comments as (Help)