In article <1155224124.155385.188840 (AT) 75g2000cwc (DOT) googlegroups.com>,
mjansen.merge.emed (AT) gmail (DOT) com wrote:
Quote:
Is there a way to override inline within the <body> a style of an
element but not do it with a style attribute on the element? I know
CSS Inheritance works for some styles, but doesn't appear to work for
margins, etc.
[snip]
So somewhere at POINT A, I'd like to insert something that affects the
style of the embedded <p> tag that I don't have control over. Could I
just insert some java script to save and restore the <p> style ? Other
options? |
From the html 4 specs, section 14.2.2:
Attribute definitions
style = style [p.57] [CN] [p.49]
This attribute specifies style information for the current element.
The syntax [p.57] of the value of the style attribute is determined by
the default style sheet language [p.186] . For example, for [[CSS2]]
inline style, use the declaration block syntax described in section
4.1.8 (without curly brace delimiters).
- which I think does what you're looking for?