John Dick wrote:

> How do you style the following using inline style:
>
> p:first-letter
>       {
>       color:#ff0000;
>       font-size:xx-large;
>       }

> HTML is as follows:
>
> <p>
> You can use the :first-letter pseudo-element to add a special effect to the 
> first character of a text!
> </p>
>
> I want the style to be inside of<p>

Well, as far as I can see, it can be "inside of <p> ... </p>"
but not "inside of <p>".  In other words :

<p>
<span style="color:#ff0000; font-size:xx-large">Y</span>ou can use the 
:first-letter pseudo-element to add a special effect to the first character of 
a text!
</p>

but perhaps I'm missing something.
Philip Taylor
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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