nelliewilson
New Member
Okay. Can't get this to work properly. The size of the image is 110px width by 110px height but I am unable to get the area to be that size. Setting the size by span tag hasn't worked and even inline didn't work either. What is the proper or suggested way of doing this?
Example:
My Site
CSS:
HTML:
When using sprites one must use "dispaly:block;"
Example:
My Site
CSS:
Code:
.sizer {
height:110px;
width:110px;
}
a.beta {
background:url(images/beta.png);
background-position: 0px 0px;
}
a.beta:hover{
background:url(images/beta.png);
background-position: -110px 0px;
}
a.beta:active{
background:url(images/beta.png);
background-position: -120px 0px;
}
HTML:
Code:
<span class="sizer"><a href="albuminfo.php" class="beta">area</a></span>
When using sprites one must use "dispaly:block;"
Last edited: