...

View Full Version : Change font color...



mccdaddy
07-31-2007, 11:18 PM
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
07-31-2007, 11:20 PM
<h2>Lorem <span>ipsum</span></h2>


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

mccdaddy
07-31-2007, 11:37 PM
See? I knew it would be simple. Thank you very much.

mccd



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum