Re: [Boost-docs] How to center an image using quickbook (or a .css)

Subject: Re: [Boost-docs] How to center an image using quickbook (or a .css)
From: Daniel James (dnljms_at_[hidden])
Date: 2016-04-01 19:17:02


On 1 April 2016 at 17:54, John Maddock <jz.maddock_at_[hidden]> wrote:
>
> I don't know how to do this in quickbook, but in html you need to align the
> surrounding paragraph.

Unless you make the image a block element, which should be fine if
it's to be centered. So something like:

    img.centre { display:block; margin-left: auto; margin-right: auto; }


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC