View Full Version : Having two text colours...


Zawarah
08-10-2006, 12:58 AM
I'm needing some code to put into my stylesheet that will allow me to have two different paragragh text colours so I don't have to do the whole <font colour="#??????">TEXT HERE</font> change code.

This is the page here: http://www.atlasworldwide.co.nz/blue/index-blue.htm

At the moment my stylesheet has the paragraph text as the dark blue: #00005B.

I'm wanting to keep the main text as #00005B (blue)
But I'd like the arrows and the headings to be #FF0099 (pink)

Any help is greatly appreciated thanks.

bourdelson
08-10-2006, 01:29 AM
You can make a class for the font you want to have the heading.

.heading {
color:#ff0099;
}

And then, for your headings or where ever you want to use the pink color, use this tag.

<span class="heading">here is all of the text that will turn pink</span>

:)

Zawarah
08-10-2006, 02:26 AM
Thanks heaps for that!!!

I knew it was something simple, just didn't know the coding.