Forum Moderators: not2easy

Message Too Old, No Replies

Different styles for different browsers

Hi all!

         

gopal

6:31 am on Feb 3, 2007 (gmt 0)

10+ Year Member



How to write Different class for IE And Firefox in same style sheet.

SuzyUK

6:56 pm on Feb 3, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi gopal and Welcome to WebmasterWorld!

can you clarify a bit, do you mean you want to style the same class differently?
and which versions of IE are we talking about

There is a very simple hack available the targets IE6 and below, but more details might mean we can give the right choices

Benek

10:47 pm on Feb 3, 2007 (gmt 0)

10+ Year Member



Also, better than an IE hack in your style sheet would be to use IE conditional comments and have a separate CSS file for IE.