different css for different browsers?

  • oskillzzo
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jul 04, 2008
  • Posts: 50
  • Status: Offline

Post August 30th, 2008, 4:33 pm

is there a way to input a css stylesheet depending on the persons browser? i wanna make a certain one for IE and another for all other browsers but dont know how to go about this
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 30th, 2008, 4:33 pm

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13458
  • Loc: Florida
  • Status: Offline

Post August 30th, 2008, 5:04 pm

The easiest way is to use Internet Explorers conditional comments.

The idea is you have all of the things that all browsers will use in one stylesheet, outside of a conditional comment.
Then you place stuff IE shouldn't use but the other browsers should in another stylesheet, inside a conditional comment using [IF NOT IE] logic.
Strong with this one, the sudo is.
  • seularts
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jan 02, 2007
  • Posts: 147
  • Loc: Romania
  • Status: Offline

Post August 31st, 2008, 3:05 am

why don't you try to reset all your elements therefor you can start from scratch in all browsers this way.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 148 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.