I have this page and I have users uploading icon images for industries and they are uploading a larger image. I want to change it using CSS and cut it off when changing it in Firebug . To understand what I mean, select "retail" from the top "Select Industry Category" drop-down list, and then select "General" from "Choose a Business Type" and you will see an image with an unusual shape. It should be 56 pixels * 52 pixels.
Here is my HTML:
<span class="icon select-business-icon" style="background-image: url(http://posnation.com/shop_possystems/image/data/icons/retail.png);"> </span>
I tried in CSS to set the width and height of the required dimensions, but all that was done was trimming the image, not resizing.
Trace source share