View Single Post
Old 08-18-2007, 10:11 AM  
Nookster
Confirmed IT Professional
 
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
Quote:
Originally Posted by Young View Post
i want to change the color of one word in the middle of a sentence. it's not going to be a link...it's just for emphasis.

using

Code:
<font color = "#">
in the middle of a paragraph doesn't validate.

is there any way to do it OTHER THAN making it a hyperlink and changing the cursor to default through css.
Use the span element.
Code:
<style>#className { color:#ff0000; }</style>
Your sentence with <span id="className">text to change</span> in the middle.
Nookster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote