[TYPO3] Tables centered by default
Sergio Catalá Gil
scatala at iti.upv.es
Thu Jul 31 10:05:13 CEST 2008
In file "typo3_src/typo3/sysext/css_styled_content/static/setup.txt" I
can add some parameters to the default tables created with the backend:
tt_content.table {
10 = < lib.stdheader
20 = USER
20.userFunc = tx_cssstyledcontent_pi1->render_table
20.field = bodytext
...
20.tableParams_0 {
border =
cellpadding =
cellspacing =
}
}
I can add a "border", a "cellspacing" and a "cellpadding". My interest
would be that every table is centered by default. I tried to add this
sentence to the code without success:
align = center.
The output doesn't even add it properly.
Any ideas to get all tables centered?
Thanks in advance,
Sergio
More information about the TYPO3-english
mailing list