Thread: Line over text
View Single Post
Old 06-09-2013, 08:30 PM   #10
Steadyhands
Connoisseur
Steadyhands began at the beginning.
 
Steadyhands's Avatar
 
Posts: 57
Karma: 10
Join Date: Dec 2011
Device: Samsung Tablet
Quote:
Originally Posted by RbnJrg View Post
Hmmm, I don't know if this will work for you, but you can do a try. In your css stylesheet write:

[
I really don't know if your reader can support the pseudo-element :after.

Regards
Rubén
Thanks, I'm using an iPad and it sort of works. Sigil displays it correctly, Calibre viewer and iBooks display a series of dashes ie — — — —

The good thing is it works on chapter One ———— and on Twenty-Three ———— just as well and the lines don't flow through to the next line.

I added a font-size: to the h2:after to reduce the thickness of the em dashes.
Steadyhands is offline   Reply With Quote