View Single Post
Old 03-21-2013, 04:24 AM   #1
modified
Member
modified began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2011
Device: Kindle 3, Kindle Paperwhite
EPUB -> MOBI: Can't style HR element?

Hi guys,

I'm trying to style the HR element in mobi but I don't seem to have any luck. The HR element is styled properly in the original epub ( margin-top: 3em; margin-bottom: 3em; width: 50%; ) but it does not seem to convert to mobi. I've tried to force it using a custom css (that was used for the original epub) but no luck either.

I'm using ebook-convert from the command line.

Code:
C:\test>ebook-convert Test.epub Test.mobi --mobi-toc-at-start --extra-css="epub.css"

Code:
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on C:\test\Test.epub
Parsing all content...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
        Detected chapter: Chapter 1
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Creating MOBI Output...
67% Running MOBI Output plugin
Serializing resources...
Creating MOBI 6 output
Generating in-line TOC...
Applying case-transforming CSS...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Serializing markup content...
  Compressing markup content...
Generating MOBI index for a book
MOBI output written to C:\test\Test.mobi
Output saved to   C:\test\Test.mobi
Attached Files
File Type: epub Test.epub (4.0 KB, 21 views)
File Type: mobi Test.mobi (11.0 KB, 16 views)
modified is offline   Reply With Quote