View Single Post
Old 10-16-2012, 12:05 PM   #15
Caleń0
Member
Caleń0 began at the beginning.
 
Caleń0's Avatar
 
Posts: 12
Karma: 10
Join Date: Oct 2012
Location: Bradford, MA
Device: Kindle (all generations)
To Jellby:

Quote:
As I said, you need to include the <img> tag inside a block element (<div> or <p>), so it's easier to just give "text-align: center" to the container.
I'm so sorry, man. I might have overlooked or misunderstood what you meant in your original post. I took this:
Quote:
That's for a normal image, for the title page I'd use:

Code:
<h1 class="title" title="Title Page"><img ... /></h1>
with:

Code:
h1.title { margin: 0; padding: 0; text-align: center }
(to override the possibly different settings you might have for other <h1> tags)
...to mean that I no longer needed the img tag, except to reference the image folder or location. I assumed you meant I could use h1 INSTEAD of the img tag, which I had before, with attributes, etc. I'm not sure if that is indeed what you recommended.
In any case, you are right in regards to asking in the Calibre forum. I actually posted the same question there, but I think because of the forum policy (not posting the same question in different places), it might not have any traction. I will try to maybe rephrase it and ask again, but either way..I DID think it to be a Calibre issue, but I also wanted to make absolutely sure that my Sigil XHTML/CSS were not keeping Calibre from detecting chapters and thus, incorrectly compiling the elements for the final .mobi structure.
In the end, the result is the same, Calibre just does not recognize this first page as a TOC item, even as it includes it in the structure.

Color me lost.

Toxaris:
Thank you VERY much for recommending L Castro's blog. I'm currenlty using her CSS3/HTML5 quickstart guide in looking for answers to a gazillion questions I have about this.
If it's not obvious, I am a man of the print era...so I'm slogging along this, but with high hopes.

Last edited by Caleń0; 10-16-2012 at 12:30 PM.
Caleń0 is offline   Reply With Quote