Re: [docbook-apps] Centering Figures in Html With CSS: No Luck!

From
Som Crowder
Date
2010-07-08T20:02:04+00:00
ID
Thread
Re: [docbook-apps] Centering Figures in Html With CSS: No Luck!
On Thu, Jul 8, 2010 at 14:20, Mauritz Jeanson <> wrote:
> |  -----Original Message-----
...
> |  In my css file I have tried these:
> |  div.mediaobject {
> |    text-align: center;
> |  }
> |
> |  Neither work.
...
> CSS has no "align" property.
> "text-align: center;" works in Internet Explorer, but not in Firefox. The
> following non-standard setting works in Firefox: "text-align: -moz-center;".

Aha, that works!

Do you have a pointer to any other css tricks for firefox?

> Many FO properties are modeled on similar CSS properties, but the DocBook
> stylesheets do not perform any kind of CSS->FO translation. There is some

Duh, I should have realized that.

Good debugging with limited info, Mauritz, thanks a heap!

-Tom