Forums / Templates, Stylesheets, Page Layout / a:link text-decoration:undeline;

a:link text-decoration:undeline;

Locked

Views: 1,349

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Feb 2007, 7:51 PM
#1
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

a:link text-decoration:undeline;

I prefer to have a:link in the center column underlined, but when I do it, the side box links are also underlined, which I don't want. Where can I indicate that the side box links should be text-decoration:none;??

16 Feb 2007, 3:21 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: a:link text-decoration:undeline;

Add this to your stylesheet:

.sideBoxContent a:link {
	text-decoration: none;
	}

.sideBoxContent a:hover {
	text-decoration: none;
	}

.sideBoxContent a:visited {
	text-decoration: none;
	}

If you want the links to be a different color as well, put the color declaration in the same place (I used white in the example).

.sideBoxContent a:link {
	color: #ffffff;
	text-decoration: none;
	}

.sideBoxContent a:hover {
	color: #ffffff;
	text-decoration: none;
	}

.sideBoxContent a:visited {
	color: #ffffff;
	text-decoration: none;
	}

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

16 Feb 2007, 5:53 PM
#3
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: a:link text-decoration:undeline;

Thank you so much. Is there a place I can find all the different name convention used? Got confused between rightBox and sideBox etc.