i have a background image but its huge and i want to make it smaller how do i do that?
Five answers:
2008-04-24 03:25:54 UTC
Since you are using the image as a background, you can not resize it with CSS. You can resize the container it is in, but then you will be either cutting off some parts of the image or having a larger container than the image itself.
The only way you are going to get it to fit, if the image is NOT TILEABLE, is to resize it in a graphics editor to the page size or div container size you plan to use the image as a background.
Ron
jmak2228
2008-04-23 21:00:09 UTC
you can resize the image (make it smaller by editing the image size)then expand the background with html to cover the screen with hight and width
example
background="file.gif" width="100%" height="100%"
grider
2016-12-26 12:50:32 UTC
it does not artwork like that, its all relating to the alternative of the video exhibit viewing the website so i propose you're making the image as great as achieveable to have it slot in all resolutions
2008-04-23 21:49:05 UTC
Just add width and height, like these examples. You can do it to any image.