[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] epub heading levels and centered images
Hi Andreas,I'm not able to duplicate your problem of "align" in CSS styles. When I process your example with docbook-xsl-1.77.1/epub3/chunk.xsl without any customization, I get the following output:
<div class="figure" id="FigCMOverview"> <div class="figure-contents"> <div style="text-align: center; " class="mediaobject"> <table style="border: 0; width: 80%; cellpadding: 0; cellspacing: 0;"> <tr> <td style="text-align: center; "><img style="text-align: middle; width: 100%; " src="images/CM-Overview.png" alt="AfterShot color management overview"/>
</td> </tr> </table> </div> </div><div class="figure-title">Figure 1.1. AfterShot lor management overview</div>
</div> Note that "text-align" is used, not "align".What output do you get when you process your document with epub3/chunk.xsl directly rather than with your customization? If you find they are different, then send me your customization.
Bob Stayton Sagehill Enterprises bobs@sagehill.net -------------------------------------------------- From: "Andreas F.X. Siegert" <afx@afximages.com> Sent: Friday, November 02, 2012 2:20 PM To: <docbook-apps@lists.oasis-open.org> Subject: Re: [docbook-apps] epub heading levels and centered images
Hi Bob, on 02.11.2012 22:15 Bob Stayton said the following:Hi Andreas,I'm a bit lost now. Can you describe in more detail what you are trying todo and what you have tried?here is my docbook entry: <figure id="FigCMOverview"> <title>AfterShot color management overview</title> <mediaobject> <imageobject> <imagedata fileref="images/CM-Overview.png" format="PNG" width="80%" align="center"/> </imageobject> </mediaobject> </figure> I have nothing image/media specific in my XSL style file. And I get this in the xhtml: <div class="figure"> <a id="FigCMTunnel"/> <div class="figure-contents"> <div style="align: center; " class="mediaobject"><table style="border: 0; border-spacing: 0; padding: 0; width: 80%; "><tr> <td style="align: center; "> <img style="align: middle; width: 100%; " src="images/CM-Tunnel.png" alt="The gamut pipe"/> </td> </tr> </table> </div> </div> <div class="figure-title">Figure 3.3. The gamut pipe</div> </div> I need the align center in the docbook file for the generated pdf... I have nothing image specific in my epub style file. thx afx -- http://afximages.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]