Images linked, 'Align' and 'Width' attributes
Hello you all,
I have some issues with Kindle format and Sigil.
I have done recently an ebook for a client using InDesign and after exporting the file, I used Sigil. At some point in the ebook I have couple of logos (Facebook logo, Twitter Logo and client's logo) which were supposed to be linked to client's accounts and website. They all work perfect in ePub but when I convert them to Kindle using Calibre, they are not active. Actually when I click any logo it actually make it bigger. Why?
Here is the code for one logo:
----------------------------
<div class="image">
<a href="http://www.facebook.com/EricScheibeler"><img alt="f_logo.jpg" src="../Images/f_logo_fmt.jpeg" /></a>
</div><br />
---------------------------
Another issue. In the book I have couple of tables. Using HTML coding I set them to centered adding the attribute 'Align' as follows:
<table align="center">
Then I set the columns to have a specific width like this:
<td width="30%">. This command I am using in webdesign to "tell" the browser that the column is 30% of the width of website (sorry for my English - if the website has 800 px wide, the column will be 240 px).
With this attributes set, the tables are looking perfect. But, when I finished the ePub layout in Sigil and I had checked the book for any errors I have got this messages in Manifest on content.opf file:
Attribute 'align' is not declared for element 'table'.
Attribute 'width' is not declared for element 'td'.
Though the tables are displayed as I set those attributes they are viewed as errors by Sigil when trying to clean the book for errors. If I delete those attributes, after another check it returns the message: No errors found!
So, how on earth I center the tables and set the columns to a specific width.
And the last one. I wanted to put a line under each Title of the book. I had used this command:
<hr class="sgc-1" size="1" width="85%" noshade="noshade" />
The line is displayed correctly in ePub but when converted to Kindle is looking odd. It is very short, like 15-20% of its size.
I will appreciate any help. What is especially very important for me is to solve the mystery of linked Logos (why they are working perfect in ePub but not in Kindle) and how to center tables and how to set column width.
Thank you very much for your help.
Kind regards,
Sebastian
|