Changing the first character

I read somewhere, on one of the copious reference sites I crawl through when I don't want to bother the good people here, that with CSS, there's an attribute that changes the style of the first character of a paragraph.

Trouble is, I can't find it again. Anyone know what attribute this is?

CTBYes, the :first-letter pseudo-element

<style type="text/css">
<!--
p:first-letter {
font-size : 500%;
}
-->
</style>But make sure it's "p:first-letter" and not "p :first-letter".
 
Back
Top