View Single Post
Old 03-21-2013, 04:24 AM   #1
modified
Connoisseur
modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!modified is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 90
Karma: 50742
Join Date: Jan 2011
Device: PW5
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, 151 views)
File Type: mobi Test.mobi (11.0 KB, 159 views)
modified is offline   Reply With Quote