> 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.

Oh no you didn't miss anything; it is simply my ignorance.  I thought there 
was a way of formatting the <p> using pseudo-elements but appears there 
isn't.

I have done something like this as suggested by both of you:

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

It works and I can live with it for now.  I am restricted because of 
restrictions imposed by Google Sites.  See my previous message.

Thanks for the wonderful trick.

Regards,
 

______________________________________________________________________
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