Quote:
Originally Posted by lumpynose
I'm using the following css which works for epub but when I look at the dual mobi (converted with kindlegen) in the Mobipocket Reader the tables are at the left.
PHP Code:
table {
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
margin-top: 1em;
}
I tried changing the html from just table to table align="center" but that didn't help and as I expected it then failed with epubcheck.
|
KF7 has no CSS whatsoever. You need to do whatever you want to do, in HTML only, inline.
If memory serves, using embedded blockquotes or even a single blockquote will indent it, but not center it. You can't put a table inside a paragraph, so...try centering a div and putting the table inside that. Yes, never mind, I see that Ruben already suggested that.
Hitch