Apply custom table styles

Allie's Avatar


19 Jul, 2010 03:00 PM

Hi there,

How do I choose to apply a custom table style using the values set at the Global CSS Classes in Cascade? I have entered some custom styles in the Global CSS Classes field and they appear in the Styles drop-down list in the WYSIWYG editor. But when I click on one style while having a table selected, the style is not applied to the table: the table is still having the original style, which can be viewed and changed through the Table properties --> Advanced --> Id field. This means that our users would need to manually enter custom styles, instead of choosing from the available styles set as the system preferences.

Am I missing something?

  1. 1 Posted by Penny on 20 Jul, 2010 02:37 PM

    Penny's Avatar

    Using the Global CSS Classes field means that when you select from the Style drop down in the WYSIWYG, that value will be filled into the class attribute of whatever item you placed it on. So if you do this for a table and go to the Table properties, that value should be displayed on the General tab in the Class field.

    If this is working properly, I am in version 6.4.4 and this is the behavior I get, you will need to make sure that your corresponding CSS file attached in the Global Preferences has the classes and their formatting in the list that you provide in the Global CSS Classes field.

    I hope this helps.

  2. 2 Posted by Allie on 20 Jul, 2010 08:16 PM

    Allie's Avatar

    Hi Penny,
    I have just tried this again and realized that the custom table class is indeed added to the "table" tag as a "class" attribute, however the existing "Id" field on the Advanced tab in the Table properties popup is still in place as the "Id" attribute for "table". I need to manually remove the Id value in order for the new custom class to take effect.
    Thanks for describing your experience!

  3. Allie closed this discussion on 20 Jul, 2010 08:16 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac