May 12, 200917 yr Hello everyone am having a real big problem and really need some help. I want to use an image for the background of a website but i want the image to be seen the same size even if customers change their screen resolution the image size will remain the same or atleast see the whole size of the image. Thank You in advance
May 12, 200917 yr Hello everyone am having a real big problem and really need some help. I want to use an image for the background of a website but i want the image to be seen the same size even if customers change their screen resolution the image size will remain the same or atleast see the whole size of the image. Thank You in advance in the html add <body background="image.png" width=" " height=" " alt="Background">
May 16, 200917 yr Background images are non-scalable so you'll either have to detect browser res and dynamically show correct image, live with it, or design to "base".
May 21, 200917 yr You can do it by putting the image in your html rather than using a background image. Then in your css... img.someclass {width 100%; height: 100%} Just make sure it's contained either by the <body> tag or a div that has its own height and width set to 100% (or with a minimum and maximum height and width)
Create an account or sign in to comment