Ok, so I'm using the FCK editor in DNN 4, and I've figured out how to use my external xml and css styles to get those styles into the FCK editor's dropdown style box. The issue I've run into, is how can I add link styles to that list? When I try, I get an XML error.
So right now I have this set of styles for a link:
.bottomlinkstyle a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color: #FF0000;
text-decoration: underline;
}
.bottomlinkstyle a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color: #FF0000;
text-decoration: underline;
}
.bottomlinkstyle a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color: #FF0000;
text-decoration: none;
}
.bottomlinkstyle a:active {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color: #FF0000;
text-decoration: underline;
}
And I'm trying to add them to the XML sheet with this:
</Style>
<Style name=".bottomlinkstyle" element="span">
<Attribute name="class" value="bottomlinkstyle" />
</Style>
But that's not working...
Any ideas?
Thanks!
Joe
So right now I have this set of styles for a link:
.bottomlinkstyle a:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color: #FF0000;
text-decoration: underline;
}
.bottomlinkstyle a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color: #FF0000;
text-decoration: underline;
}
.bottomlinkstyle a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color: #FF0000;
text-decoration: none;
}
.bottomlinkstyle a:active {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color: #FF0000;
text-decoration: underline;
}
And I'm trying to add them to the XML sheet with this:
</Style>
<Style name=".bottomlinkstyle" element="span">
<Attribute name="class" value="bottomlinkstyle" />
</Style>
But that's not working...
Any ideas?
Thanks!
Joe