HTMLGen- Table Align property
Dave Benjamin
dave.benjamin at gmail.com
Tue Dec 27 23:02:32 EST 2005
Cappy2112 wrote:
> Does anyone know if the table align property is available in
> HTMLgen.Table?
> The docs don't show it, but I find it hard to believe that it is not
> available.
>
> I want to center the table.
> Only the cell align propterty is available
I've never used HTMLgen, but you might try wrapping your table in a DIV
with a "style" attribute (or using the TableLite class, which also
accepts a "style" attribute), and setting the "text-align" property:
http://www.w3schools.com/css/pr_text_text-align.asp
Hope this helps,
Dave
More information about the Python-list
mailing list