Adding URL color to CSS code

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
thefreebielife
Forum Contributor
Posts: 126
Joined: Thu Apr 26, 2007 2:59 pm

Adding URL color to CSS code

Post 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
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post 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>.
(#10850)
Post Reply