Previous Message
Next Message

Style rule based upon ID and Class?

Sent by jack fredricks on 15 May 2005 00:12


as the others have said, but keep this in mind;

the ID selector has higher specificity. This means that if you have
these two conflicting rules;

#explorer {border:1px RED solid;}

and

..explorer {border:1px BLUE solid;}

the border of the div will be RED.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: