Font Colors in Page Content
jnallee - December 7, 2007 - 15:50
Hi,
In some of my pages I need to change the font color on some words and using the html font attributes in my editor (BUEditor) won't do it. What I don't understand is that in BUEditor's built in preview the font is the correct color but when I save the page the alternate color isn't there??? Would using a different editor help?
I have made "Full HTML" the default input format for my site.
I hope it's just something so simple I'm merely overlooking it. I'm at the point in my understanding of CMS/Drupal that I know just enough to get myself in trouble. While I have been playing with html for over a decade, I know NOTHING about CSS other than understanding the basic concept.
Thanks,
Nate

Once Again...Nevermind
For some mysterious reason it now seems to be working...??? What the heck?
I guess my question now is, why the delay? (Besides making me look stupid, heheh)
Thanks,
Nate
If you want specific control of color on a
piece of text, meaning you want this one small text to be a certain color, then put the text in this code when you enter it in the content form:
<span style="color: #345fff;">my colored text blah blah blah</span>If the color you use to highlight text is going to be the same throughout your site, then it is best to put this type of css in the style.css of your theme:
.text{
color: #33aaff;
}
And then whenever you want to use this code in your content, use this tag around whatever you want colored differently:
<span class="text">my colored text blah blah blah</span>Keep in mind you can change the color numbers to whatever you want.
Good luck.
Thanks
for the snippets. At least I learned SOMETHING out of this so it wasn't a complete waste of time.
Nate