Previous Message
Next Message

Quickly Removing Formatting from an Element

Sent by Geoffrey Hoffman on 4 March 2008 16:04


The C in CSS stands for Cascade. It's inherently designed to, uh, cascade.

Though it makes your life more difficult, I think your best bet may be to
declare all your rules with explicit selectors:

e.g. for every other thing on the page, do...

#path .to .item input { }

....not just a blanket...

input { }

otherwise the main rule overrides.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: