Hi Alex,
Try align="center" on the imagedata element.
I would also suggest checking out Bob Stayton's book, which has a lot of information about image placement and scaling, a topic that can get hairy.
You can find the book online at http://sagehill.net and I recommend getting the print version if you do very much with DocBook.
BTW, the docbook-apps mailing list is the best place for this kind of request, so I'm cross-posting my reply there.
Best regards,
Dick Hamilton
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
On May 28, 2014, at 3:28 PM, Alex Kleider wrote:
> Still a beginner, I've become a great fan of docbook, mainly to then convert to html.
> My current project requires insertion of photos (png, jpeg).
> Is there a way to specify that a photo (<mediaobject><imageobject><imagedata>)should be aligned in the middle, rather than to the left margin of the the page?
> Thanks in advance for any help.
> alex
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>