View Single Post
Old 03-20-2008, 12:46 AM   #6
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 jgray View Post
I did the indentation on the web page by setting a few "margin-left" rules in the stylesheet and then wrapping specific lines with span tags to get the desired indent for that line. I thought about using nbsp tags (which would have worked better in the ebook files), but having dozens of nbsp's was too much to deal with and very ugly to edit. Has anyone come up with a better way to handle this?

Thanks to all.
If you have style support then you set the left margin to the overflow lines and set the text-indent to a negative number (outdent) to set the first line to move further left. That way you get exactly what you want.

Dale
DaleDe is offline   Reply With Quote