View Single Post
Old 05-25-2013, 05:25 PM   #10
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
I do not think you need the first-line in this case. The span is enough. You could just say .first or p.first and then set the content.

.first {font-style: italic}

or

p.first {font-style: italic; }

Let's suppose you want the first line after a header to not indent you would set the standard p as:

p {text-indent: 2em}

but if you have:

h1 + p {text-indent: 0}

Then the first line after an h1 would not indent. This is equivalent to a first-line choice.

Dale

Last edited by DaleDe; 05-25-2013 at 05:27 PM.
DaleDe is offline   Reply With Quote