ketanco
Nov 7th, 2009, 09:41 AM
Hello, for the site robotbuy.com left side blue menu buttons, I want the active button to remain as red. Right now only if you hover the mouse it becomes red.
For the .menu active I tried pasting the
background:url('http://www.robotbuy.com/pictures/button2.png') no-repeat 0 0;
which is the red button, but it doesnt work. Please advice.
Here is the css:
.menu{
width:100px;
}
.menu a{
display:block;
width:175px;
height:48px;
valign: center;
background:url('http://www.robotbuy.com/pictures/button1.png') no-repeat 0 0;
line-height:30px;
font-family:Arial;
font-size:12px;
font-weight: bold;
color:black;
text-align:center;
text-decoration:none; margin-left:0px; margin-right:0px; margin-top:-17px; margin-bottom:0px;
}
.menu a:visited{
color:#white;
}
.menu a:hover{
color:white;
background:url('http://www.robotbuy.com/pictures/button2.png') no-repeat 0 0;
}
.menu a:active
{
color:#ffffff;
}
For the .menu active I tried pasting the
background:url('http://www.robotbuy.com/pictures/button2.png') no-repeat 0 0;
which is the red button, but it doesnt work. Please advice.
Here is the css:
.menu{
width:100px;
}
.menu a{
display:block;
width:175px;
height:48px;
valign: center;
background:url('http://www.robotbuy.com/pictures/button1.png') no-repeat 0 0;
line-height:30px;
font-family:Arial;
font-size:12px;
font-weight: bold;
color:black;
text-align:center;
text-decoration:none; margin-left:0px; margin-right:0px; margin-top:-17px; margin-bottom:0px;
}
.menu a:visited{
color:#white;
}
.menu a:hover{
color:white;
background:url('http://www.robotbuy.com/pictures/button2.png') no-repeat 0 0;
}
.menu a:active
{
color:#ffffff;
}