View Single Post
Old 01-26-2013, 05:01 PM  
The Dawg
Confirmed User
 
The Dawg's Avatar
 
Join Date: Apr 2002
Location: State Of Bliss
Posts: 2,438
CSS Gurus - Which one is correct?

HTML:

Code:
<nav id="horizontal">
....
CSS:
Code:
#horizontal ul {
	font-family: 'Century Gothic';
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 3px;
	line-height: 20px;
	list-style-type: none;
}

#horizontal li a {
	color:hsl(212, 100%, 70%);
	text-decoration:none;
}

#horizontal li a:hover {
	color: hsl(212, 100%, 29%);
}
Or

Code:
#horizontal ul {
	font-family: 'Century Gothic';
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 3px;
	line-height: 20px;
	list-style-type: none;
}

#horizontal ul li a {
	color:hsl(212, 100%, 70%);
	text-decoration:none;
}

#horizontal ul li a:hover {
	color: hsl(212, 100%, 29%);
}

Both seem to work...
The Dawg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote