View Single Post
Old 05-25-2011, 11:51 AM   #5
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by SoftwareManiac View Post
I also have seen issues with getting table borders to work. Using InDesign, a CSS style is produced for tables and this is what I modified in the .epub generated file:

table.Lined-Table {
border-collapse : collapse;
border-width : 1px;
border : 1;
border-style : solid;
border-color : #000000;
margin-top : 0px;
margin-bottom : 0px;
}

The table content shows just fine -- the border doesn't in the resultant .mobi using calibre v0.8.1. Odd, when I view the modified .epub using Adobe Digital Editions or even the calibre internal viewer, the tables render as I'd expect. It is only the resultant conversion to .mobi.

Help?
Way too complicated for mobi. Mobi is an older web format, mostly predating HTML 4.0. It has no knowledge of CSS. The conversion program attempts to convert CSS to something mobi can understand but the above it beyond what it can do. It cannot collapse the width to 1 pixel for example. Table support in mobi is primitive.

Dale
DaleDe is offline   Reply With Quote