View Single Post
Old 08-24-2010, 08:20 AM   #24
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
Quote:
Originally Posted by PatNY View Post
Almiel, are you saying I can't just stick <hr width="35%"> in between two paragraphs in code view like WS64 suggested?

Why not? It does work. The horizontal rule shows up in both Calibre's viewer and on my iPod Touch.

Or are you simply saying it's not standard and could possibly cause issues with the epub file in the future?

I do not know coding which is why I like Sigil's wysiwig interface as well as the simple solution for a horizontal rule.
Like I wrote you should put the center part in the header.
Enhance the STYLE comment with the hr command, like this:

<style type="text/css">
hr {width:35%}
</style>

(you will probably see more statments there)

If you do that you can just use <hr /> in your documents, and everything is valid.
WS64 is offline   Reply With Quote