Forum Moderators: open

Message Too Old, No Replies

Link, Vlink, Alink colors

Can they be set for individual links or only for entire body?

         

ControlEngineer

3:36 am on May 16, 2004 (gmt 0)

10+ Year Member



I am used to seeing the link color schemes set in the <BODY > tag, with the link colors applying to the entire page.

I am wondering if they can be set for individual parts of a page or individual links, using HTML.

deejay

3:45 am on May 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can use CSS and define a different class for each link color.

ControlEngineer

4:28 am on May 16, 2004 (gmt 0)

10+ Year Member



Thanks.

Also, is there any way I can avoid the underline on links?

tbear

10:18 am on May 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



As deejay say's css is the way to do it.
Bear in mind that if the link properties on a page, or even within a site, are not consitent your visitors may get confused..

BlobFisk

12:22 pm on May 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To remove the underline from links use CSS (text-decoration: none) - the CSS Forum [webmasterworld.com] is the best place to learn about CSS. Check out the introductory tutorial by Nick_W in the Library there.

Removing the underline from links should be done with care. From a usability perspective users expect linke to be underlined. If you are going to remove the underline, you need to replace it with another trigger.

HTH

ControlEngineer

1:22 pm on May 16, 2004 (gmt 0)

10+ Year Member



Thanks, everyone.

Bear in mind that if the link properties on a page, or even within a site, are not consitent your visitors may get confused..

Removing the underline from links should be done with care. From a usability perspective users expect linke to be underlined.

I agree. What I was thinking about was removing the underline and default link, visited link, and active link colors from a navigation column (made clear that it is links to sections) but keeping them on all other links, such as links within text, or anywhere other than the navigation column.

BlobFisk

1:32 pm on May 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That seems like a perfectly fine course of action, ControlEngineer!

zone

7:29 am on May 18, 2004 (gmt 0)



Thanks for giving such a good info on the link properties...

[edited by: Woz at 7:48 am (utc) on May 18, 2004]
[edit reason] No Sigs please, see TOS#13. [/edit]