Hi, i'm just newbie too
i have to try make a class for
ul li a:hover.yourclass
that's use in your css

. okay i will give you a simple way how to make any class .
Quote:
ul
{
list-style : none;
padding : 5 0 0 0;
float : left;
margin : 0;
}
ul li
{
list-style : none;
padding : 10 0 0 20;
float : left;
margin : 0;
}
ul li a
{
text-decoration : none;
}
ul li a:hover.red
{
color : red;
}
ul li a:hover.green
{
color : green;
}
ul li a:hover.yellow
{
color : yellow;
}
|
and this code bellow used in your html file
Quote:
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/menu.css"/>
<title>
horizontal menu hover
</title>
</head>
<body>
<!-- make horizontal menus -->
<ul>
<li><a href="http://google.com" class="red"> Google </a></li>
<li><a href="http://yahoo.com" class="green"> Yahoo! </a></li>
<li><a href="http://kaskus.us" class="yellow"> kaskus </a></li>
</ul>
</body>
<html>
|
if you have some question , you can reply to this thread again or just PM me .
hope will solve your problem .