...

View Full Version : text links query



chartwise
05-10-2011, 03:04 PM
On a webpage I have some text links using the <a> tag.

I wish to have some text links elsewhere on the page but with the text in a different colour.
Could anyone please tell me how to do this?

I know it can be done in CSS coding but I don't know how.
Also can it be done using Dreamweaver CS4.

All help much appreciated

DanInMa
05-10-2011, 03:30 PM
css:


a.mylinks{
color: #CCCCCC;
}

markup

<a href="www.google.com" class="mylinks">google</a>

a little more basic info : http://www.htmldog.com/guides/cssintermediate/pseudoclasses/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum