> 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.
I believe that is backwards. The style attribute trumps any CSS definitions
applied to that element.
For example:
<style type="text/css">
h2
{
color: red;
}
h2#one
{
color: green;
}
</style>
</head>
<body>
<h1>Title</h1>
<h2>RED</h2>
<h2 id="one">GREEN</h2>
<h2 id="one" style="color: blue;">BLUE</h2>
...
Here is the spec explaining the CSS cascade:
http://www.w3.org/TR/REC-CSS2/cascade.html
Best regards,
Kepler Gelotte
Neighbor Webmaster, Inc.
156 Normandy Dr., Piscataway, NJ 08854
www.neighborwebmaster.com
phone/fax: (732) 302-0904
______________________________________________________________________
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/