On 14 Oct 2004 22:05:23 GMT, paul haine <paul.haine (AT) gmail (DOT) com> wrote:
Quote:
Hi,
Let's say I have a paragraph that's using inline styles, like this:
p style="float: left; width: 50%;"
blah blah blah
/p
Does anybody know how (or even if it's possible) to use something like
:first-line or :first-letter in an inline fashion? |
Since pseudo-classes and pseudo-elements must be appended to the selector,
it cannot work inline. You could, however, class the p "foo" and put in
the style element:
p.foo:first-letter {color: red;}