Monday, 12 May 2014

png hover styles in the same image

.mystyle
{
    background: transparent url('images1.png');
    height: 50px;
    width: 33px;
    vertical-align: middle;
    float:right;
}
.mystyle:hover
{
    background-position: 50px 33px;
}