In my CSS file, I have defined styles for mini icons like this:
/* Total counts - mini icons */
span.count-facebook {
background: #fff url(../images/mini-icons/facebook.png) no-repeat 1px center;
}
span.count-plusone {
background: #fff url(../images/mini-icons/plusone.png) no-repeat 1px center;
}
span.count-twitter {
background: #fff url(../images/mini-icons/twitter.png) no-repeat 1px center;
}
span.count-linkedin {
background: #fff url(../images/mini-icons/linkedin.png) no-repeat 1px center;
}
span.count-stumble {
background: #fff url(../images/mini-icons/stumble.png) no-repeat 1px center;
}
span.count-digg {
background: #fff url(../images/mini-icons/digg.png) no-repeat 1px center;
}
span.count-delicious {
background: #fff url(../images/mini-icons/delicious.png) no-repeat 1px center;
}
span.count-pinit {
background: #fff url(../images/mini-icons/pinit.png) no-repeat 1px center;
}
span.count-reddit {
background: #fff url(../images/mini-icons/reddit.png) no-repeat 1px center;
}
The dimensions of these icons, such as facebook.png and plusone.png, are all fixed at 24px x 24px. I question whether simply adding height:24; width:24; to each .png instance in the code will actually affect the images themselves, but I could be mistaken.
I wonder if it is feasible to include a height and width attribute specifically for the background images. Thank you!