Subject: Re: [Boost-docs] How to center an image using quickbook (or a .css)
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-04-01 16:54:57
On 01/04/2016 14:50, Paul A. Bristow wrote:
> I've been trying to center (or at least shift off the left margin) images in a Quickbook generated document.
>
> The Quickbook manual and
>
> http://www.sagehill.net/docbookxsl/ImageAlignment.html
>
> suggests that
>
> [$smiley.jpg [align center]]
>
> should work (as [$smiley.jpg [align right]] and the default [$smiley.jpg [align left]] do work).
>
> But seems to have no visible effect (and produces align="middle" in the html, which is vertical and not horizontal alignment).
>
> I conclude that this is no longer an html feature?
>
> So I looked briefly at adding a margin, using a custom CSS, building on Boostbook.css, as I doing already but this is clearly not in
> my current skill-set :-(
>
> Any suggestions on how to do this?
I don't know how to do this in quickbook, but in html you need to align
the surrounding paragraph.
John.
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC