Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 05-20-2013, 07:58 AM   #1
flyingfoxlee
Member
flyingfoxlee began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2011
Device: kindle 3
Angry Dashed lines auto removed if output type is mobi

I was trying to add some dash line between sections using ebook-convert while fetching news.

I put the following css spcs in extra_css variable,
Code:
.dash-line {
    border-bottom: 1px dashed rgb(0, 0, 0);
        border-bottom-width: 1px;
        border-bottom-style: dashed;
        border-bottom-color: rgb(0, 0, 0);
}
Then use
Code:
<div class="dash-line"></div>
to get a dashed line.
But it failed to appear when the output type is set to mobi, and it appears when the output
type is set to epub.

Kind of strange, how to fix it?
flyingfoxlee is offline   Reply With Quote
Old 05-20-2013, 09:00 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
convert to azw3 not mobi. mobi has no support fort for what youare trying to do.
kovidgoyal is online now   Reply With Quote
Old 05-20-2013, 09:04 AM   #3
flyingfoxlee
Member
flyingfoxlee began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2011
Device: kindle 3
Quote:
Originally Posted by kovidgoyal View Post
convert to azw3 not mobi. mobi has no support fort for what youare trying to do.
Thank you, Kovid, what if
Code:
 --mobi-file-type='both'
.
I was thinking that it's ebook-convert cleared the dashed line while processing, so this is not the case?
flyingfoxlee is offline   Reply With Quote
Old 05-20-2013, 09:08 AM   #4
flyingfoxlee
Member
flyingfoxlee began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2011
Device: kindle 3
Quote:
Originally Posted by kovidgoyal View Post
convert to azw3 not mobi. mobi has no support fort for what youare trying to do.
what's interesting is that a azw3 file is much larger than the 'same' mobi file, both are larger
than the epub file, any suggestion that could shrink it?
flyingfoxlee is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dashed lines through content ManDay Onyx Boox 1 02-19-2013 07:23 AM
Blank Lines in MOBI-Conversion ulrichbi Conversion 3 01-19-2012 04:50 AM
Output auto-change to mobi andy87 Calibre 2 12-18-2010 10:06 PM
.MOBI Mime Type NicWest Kindle Formats 1 11-12-2010 06:42 PM
Lines became paragraphs after .lit to .mobi conversion Piper_ Calibre 11 09-19-2010 05:11 PM


All times are GMT -4. The time now is 11:50 AM.


MobileRead.com is a privately owned, operated and funded community.