I have created the a div (allservices) with the dimensions below, and require a background image. The background image is of dimensions 865 * 915px. The width of the background sits perfectly into the div, however, the height of the background image is 5px shorter than the height of the div, hence I wish to position it 2.5px down from the top of the div and 2.5px up from the bottom of the div.
Style Follows:
#allservices{margin-top:3px; margin-left:10px; height:920px; width:865px;
background-image:url(someimage.jpg);
/* the dimensions of someimage.jpg is as follows:
height = 915px, width = 865px */
background.opacity:0.25;
background.filter:alpha(opacity=25);
background-position:;
background-repeat:no-repeat;
}
any ideas, solutions, and suggestions much appreciated along with any point outs of errors.