hi..
i create a menu...but i dont know how to keep active it...
means
suppose my menu have ====>> Home Product About Us Contact Us
and menu color is "black" and hover effect is "gray"
==> Now My question is that
if i click on "home" then "home" link have to active(highlighted) with "maroon" or whatever color
if i click on product then product have to active with maroon color
or etc...
==>> sorry for my awkward explaination..
======================================
MY DESIGN CODING IS :=
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="temp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="div2">
<div class="div1">
<ul>
<li><a href="#" class="noborder leftside_radius">Home</a></li>
<li><a href="#">Product</a></li>
<li><a href="#">About Us</a></li>
<li><a href="http://www.facebook.com" class="rightside_radius">Contact Us</a></li>
</ul>
</div></div>
</body>
</html>
=====================================
MY CSS CODE IS :=
.div1
{
margin: 0px;
margin-left: 0px;
}
.div1 ul li
{
float: left;
list-style-type: none;
}
.div1 ul li a
{
color: #FFFFFF;
text-decoration: none;
background-color: #333333;
display: block;
height: 36px;
width: 130px;
text-align: center;
line-height: 36px;
border-left-width: thin;
border-left-style: solid;
border-left-color: #cccccc;
}
.div1 ul li a:hover
{
background: #666666;
}
.noborder
{
border-left-style: none !important;
}
.leftside_radius
{
border-radius: 8px 0px 0px 8px;
}
.rightside_radius
{
border-radius: 0px 8px 8px 0px;
}