View Single Post
Old 02-04-2020, 08:50 PM   #7
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,118
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by joe 1 View Post
My problem is that I have tables with borders. In Previewer they look great, but in the MOBI format there are no borders. I can "force" them to display by adding "border=1" to all of the TABLE elements; that looks a little better in MOBI but screws up the display in KF8 format. I was hoping for a way to add the "border=1" to tables for only the MOBI format.
Some CSS styles are converted to HTML3 equivalents in kindlegen for MOBI7 format. For example the style border:solid; becomes the border="1" attribute. Media queries @media amzn-kf8 and @media amzn-mobi can be used to target CSS to a particular format. By combining these you can have borders in one format and not another.

Others here have a lot more experience in this area, hopefully some of them will chime in with more details.
jhowell is online now   Reply With Quote