|
I would do it like this;
Lets pretend for a second your title is Hello World and you want Hello to be red and World to be blue.
I would first write the HTML code something like this;
<p><span class="redtext">Hello</span> <span class="bluetext">World</span></p>
and into css;
.redtext {
color: red;
}
.bluetext {
color: blue;
}
I would also change the font size and so on of course, but this way I would do the color swapping, with span tags.
Hope this helps.
-Riku
|