PDA

View Full Version : Change font color...



mccdaddy
08-01-2007, 12:18 AM
I suspect the answer to my question is something very simple but I can't find it:

How do I change the color of one or two words in a string of text that's within <h2> or <p> tags?

Thanks.

mccd

VIPStephan
08-01-2007, 12:20 AM
<h2>Lorem <span>ipsum</span></h2>


h2 {color: green;}
h2 span {color: red;}

mccdaddy
08-01-2007, 12:37 AM
See? I knew it would be simple. Thank you very much.

mccd