View Single Post
Old 07-17-2009, 08:25 AM   #15
rogue_ronin
Banned
rogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-books
 
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
Whoa. I'm slow.

Instead of hrs for scene-breaks and page breaks, I could use brs. Heck, the name is right in the name of the job I'm trying to do.

So, make <br class="SceneBreak" /> and <br class="PageBreak" /> and add something like this to CSS:

Code:
br.SceneBreak {
display:none;
}

br.SceneBreak:after {
content:"* * *";
text-align:center
}

br.PageBreak {
display:none;
}

br.PageBreak {
page-break-after:always;
}
If this works, it might solve your need to add a div: don't suppress the display, and you should get one line after the break, right?

Off to test!

m a r
rogue_ronin is offline   Reply With Quote