View Single Post
Old 05-25-2013, 09:00 PM   #12
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
Quote:
Originally Posted by jackwoe View Post
Thank you.

No, I don't need the :first-line, the exercise was to determine if I could prevent words from being typeset differently in the case they ended up on the second line.

To be specific: the aim was to typeset the first four words or the first line in italics. That is, in the case where there are only three words on the first line, I'd want the fourth normal.

Seems I can't do that easily.
Yes, I would agree. I do not think it can be done at all. You can treat the first 4 words differently but not based on what line they might be displayed on. The CSS or text has no idea what size screen or what size fonts the user may be using. You can certainly treat the beginning differently but not based on the display.

Dale
DaleDe is offline   Reply With Quote