Yes.   Your method will work in a browser, but it's semantically wrong
and will give the wrong result for other methods of looking at your
page.   You should use <span> for what you want to do.

<span style="color:red;">red</span>

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month


On 8/15/06, Chad Gray <[EMAIL PROTECTED]> wrote:
> Say I want to apply color on text.  I need to do it in the html itself.
>
> Here is what I ended up with how can I do it better?  The <p> tag I have no 
> control over.  It is there to format the paragraphs.   Is there a better tag 
> other then <a> to apply a style to?
>
> <p>the following text is the color <a style="color:red;">red</a></p>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249788
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to