OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


On Thu, Jul 8, 2010 at 14:20, Mauritz Jeanson <mj@johanneberg.com> 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]