Hi
thanks to Alfonso for answering my previous questions.
I'm having problems with the style selector that I still haven't managed to figure out. From Alfonso's answer to previous question, <a> is not treated as an object, but then how to add a style to an <a> tag?
in fckstyles.xml
If I write the following:
<Style name="Styled Link" element="a">
<Attribute name="class" value="linkStyle" />
</Style>
And try to apply this to an existing link, nothing is added to the tag. But also, if I apply this style to plain text, nothing happens.
So is there any way to add a style to <a>?
thanks to Alfonso for answering my previous questions.
I'm having problems with the style selector that I still haven't managed to figure out. From Alfonso's answer to previous question, <a> is not treated as an object, but then how to add a style to an <a> tag?
in fckstyles.xml
If I write the following:
<Style name="Styled Link" element="a">
<Attribute name="class" value="linkStyle" />
</Style>
And try to apply this to an existing link, nothing is added to the tag. But also, if I apply this style to plain text, nothing happens.
So is there any way to add a style to <a>?