"be consistent" | |
PerlMonks |
an aside about css that might helpby thpfft (Chaplain) |
on Mar 29, 2003 at 20:11 UTC ( [id://246645]=note: print w/replies, xml ) | Need Help?? |
css2 allows you to change the rule applied to an element according to the context in which you find it. eg. a rule in the form:
affects only em tags that are immediately contained by li tags. usefully, it works with ids as well as classes. If your original problem is that the formatting needed for the whole page is wrong for one or two elements in the header, then something in this form might work:
or it might not. You know. Just in case. All of which is heading pretty energetically away from the topic, but we could call it the mcfly method: travel back in time far enough and change something to make the problem go away :)
In Section
Seekers of Perl Wisdom
|
|