PDA

View Full Version : Using stylesheets for tables



sego
12-17-2009, 01:31 PM
Hi,

I found the advanced table properties and there is a field called "style" where you can choose one of your styles. But how can I use them my style field is empty and I don't find any documentation about that feature.

Can somebody just explain shortly how it is possible to create styles and use them in the advanced table properties dialog?

Thank you
Sebgo

DocDuck
12-17-2009, 03:32 PM
I believe you'd have to define them on the Editor page of the control panel, according to the syntax in the FCKEditor documentation found here (http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/CustomStyles).

That being said, I highly recommend that you add a class to your table and use Custom CSS in the control panel to style that class. When you add styles via the editor, I've found that it adds the styles in-line, which can cause huge headaches down the road if you ever want to tweak your style.

Hope that helps.