Ok.. here is what I have.  I am trying to mod Ray's Canvas wiki and put color 
text in-line with the wiki text.

Here is a test page using span to change the text to red.  Why does it not show 
up?

http://www.chadgray.info/soundeasywiki/index.cfm?event=Main&path=TestPage

It must be something in the main CSS page that is cancelling out the color 
change.  The text does not show up on the page at all when I use the <span> tag.

Thanks in advanced... I am not a CSS expert.





-----Original Message-----
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 14, 2006 10:21 PM
To: CF-Talk
Subject: Re: OT: CSS

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:249794
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to