To center a table with CSS you need to set the left and right margins
to auto.
table {
margin: 0 auto;
}
Regards
Simon Kennedy
On Feb 18, 12:29 pm, Glenn Hutchings <[email protected]> wrote:
> Hi there Sphinx fans
>
> Anyone got any idea how to make HTML tables centred without having to
> resort to:
>
> .. raw:: html
>
> <center>
>
> like I do at the moment? I'm sure there must be a stylesheet tweak,
> but can't figure out what it would be.
>
> Glenn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---