Using !important to Separate Styles From IE





-1
Date Submitted Tue. Oct. 11th, 2005 1:26 PM
Revision 1 of 1
Beginner jag5311
Tags !important | CSS | IE | Styles
Comments 3 comments
Using !important to Separate Styles From IE
<style type="text/css">
#container {
width: 500px !important; /*this is for Firefox. It understands !important*/
width: 450px; /*this is for IE. It skips the above value and reads this*/
}
</style>

Comments

Comments Doesn't work
Fri. Sep. 1st, 2006 7:53 AM    Scripter ctiggerf
Comments Learn CSS please...
Thu. Jan. 11th, 2007 9:58 AM    Scripter Casper42
Comments This is not a good fix!
Fri. Aug. 25th, 2006 6:11 PM    Newbie sgames

Voting