Page 1 of 1

Adding URL color to CSS code

Posted: Sun Nov 18, 2007 9:48 pm
by thefreebielife

Code: Select all

#left1 p.boxTxt1{
	float:right;
	padding:0 0 0 15px;
	border-left:#F9F9F1 solid 2px;
	font:normal 11px/16px "Trebuchet MS", Arial, Helvetica, sans-serif;
	width:199px;
}
Where, and what "code" would have have to add to that to make the URL link text a color besides the default blue?

Thanks,
Jared

Posted: Mon Nov 19, 2007 12:24 am
by Christopher

Code: Select all

color: #ff0000;     // red in this example
But you may need to style the <a> tag rather than the surrounding <p>.