We Recommend

CSS: The Definitive Guide 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.


Posted By

smilylion on 08/31/06


Tagged


Versions (?)


first line in other color


Published in: CSS 


  1. P:first-line {color: red;}
  2. <P>The first line of this paragraph is red
  3. this is normal...</P>

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: deadmoon on September 1, 2006

thats cool man

Posted By: jonhenshaw on September 4, 2006

There's some interesting IE related issues for pseudo-classes and pseudo-elements: http://www.satzansatz.de/cssd/pseudocss.html

You need to login to post a comment.