If you mean that you want all H1's styled a certain way except for the one
that has a specific style attribute, that is, <h1
style="your-inline-style-definition-here">Headline</h1> then I think what
you mean is that you want the rule not to cascade to that particular H1,
which is basically the opposite of what CSS was designed to do.

Ideally, use H2 for that one link, then your H1 rules won't cascade onto it.

Another way would be using a class on all the other H1's, eg <h1
class="common">Other Headlines</h1> then use h1.common { /*common rule here
*/}.

If you don't have any way to control the HTML you may have to use Javascript
to parse the DOM tree looking for H1's that do not have an attribute of
"style" and applying a runtime style dynamically.[1][2]

[1] http://revnode.com/oss/css/
[2] http://particletree.com/notebook/dynamic-css-changes/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to