Published in: CSS
P:first-letter {color: red;} <P>The capital 'T' at the beginning of this paragraph is red.</P>
Comments
Subscribe to comments
You need to login to post a comment.
CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.
smilylion on 08/31/06
2 people have marked this snippet as a favorite
Published in: CSS
P:first-letter {color: red;} <P>The capital 'T' at the beginning of this paragraph is red.</P>
Subscribe to comments
You need to login to post a comment.
There's some interesting IE related issues for pseudo-classes and pseudo-elements: http://www.satzansatz.de/cssd/pseudocss.html