I've made a widget that contains some categories to be looks like this vertical menu :
so I've used this way :
a {
width:200px;
height: 30px;
background-color: #eee;
border: 1px solid #836262;
text-decoration: none
}
I've written this to change the background color on hover since "category" is the class of the link tag :
.category:hover {
background-color: #ccc;
cursor: pointer;
}
but I've failed and the widget appeared :
why the width and height of the link not 200 and 30 px ??