Keep It Simple, Stupid | |
PerlMonks |
Re^3: Hard-coded colors breaking custom CSS settings.by Aristotle (Chancellor) |
on Nov 06, 2005 at 16:22 UTC ( [id://506116]=note: print w/replies, xml ) | Need Help?? |
Try either less or more specifity. Either just .titlebar, so all elements with the class are addressed directly (instead of having to inherit their colours from the <tr>), or add a couple more specific ones like td.titlebar, input.titlebar. Specificity is a pretty important concept in CSS, and if you don’t understand it, then the cascading and inheritance of things will occasionally snare you in baffling ways. Makeshifts last the longest.
In Section
Perl Monks Discussion
|
|