2011-09-30, 03:30:48
Alan-A Wrote:It works for me with such simple styles but I don't want to use them as they're coded directly into the HTML tag with something like " style='color:red;' ".
What I was wondering was if you have it working for your own classes, like the "Code" example you gave in your post #4, where the editor would enter something like " class='code' " into the HTML tag?
I don't understand your question.
I always use classes as you can see in the example, e.g. motto1 on a paragraph level or code on span level.
They are e.g. defined as follows in the style sheet:
Code:
.motto1 {
color: #9BBB59;
font-size: 140%;
font-style: italic;
font-weight: bold;
line-height: 1.4em;
text-align: center;
}
span.code {
font-family: 'Courier New',monospace;
font-size: 90%;
}