Class instead of id

Soldato
Joined
29 Apr 2007
Posts
4,841
Location
London
Hi, maybe you can help me.

I have this

Code:
#menu {
	width: 178px;
	float: left;
	line-height: 32px;
	}

#menu li a {
  	height: 24px;
	text-decoration: none;
	}

#menu li a:link, #menu li a:visited {
	display: block;
	background: url(/images/menu1.gif);
	height: 32px;
	}

#menu li a:hover {
	background: url(/images/menu1.gif) 0 -32px;
	}

#menu li a:active {
	background: url(/images/menu1.gif) 0 -64px;
	}

I want it for class instead of id.

How do I go about this because I need class as it is for more than one div (validation)

Thanks in advance, Ross :D
 
Back
Top Bottom