brandon
-
4/2/2009 3:53:28 PM
Editor styles question - styling a TD
I'm trying to figure out if it's possible to style a TD element using the editor's Style dropdown menu.
Currently, I have this style set up in the site's stylesheet:
.TableHeader { color: #ffffff; font-size: 1.1em; font-weight: bold; background-color: #2f6da1; }
So then I have this style set up in the XML file:
<Style name="TableHeader" element="td"> <Attribute name="class" value="TableHeader" /> </Style>
Supposedly the editor does support styles for the TD object, but I can't get it to work for the life of me. When I place my cursor in a table cell which does have <td class="TableHeader"> hand-coded in already, the style dropdown will change to read "TableHeader".
However, if I click the Styles dropdown, "TableHeader" is not listed as a choice. This also happens if I try to style a table cell that does not have a style currently applied. Any ideas?????
|