grip221
07-24-2004, 12:52 AM
I have a couple of images that I am setting as the background for two different divs on a page. The problem I am having is that the div 'boxes' are wider and taller than the images. How can I set the height and width of the images to fit the size of the divs?
I am using backgroun-image: to set the image but I have not come across anything to resize images. The images just repeat. Using no-repeat will not solve my issue. So what have I missed? Sample code would be greatly appreciated. Thanks
I am using backgroun-image: to set the image but I have not come across anything to resize images. The images just repeat. Using no-repeat will not solve my issue. So what have I missed? Sample code would be greatly appreciated. Thanks