Hello! I am making a website with a big background image and I REALLY need the image be on the full window. I don't know how to make that when someone with a 800x600 screen enters in the website, see the image at full window, but at the same time when someone with a 1024x768 screen enters in the website, sees it also in full window. How do I do that? Kindest Regards, Chewie.
Well, first thing is, you cannot control the resolution of the monitor of anyone.. The best option you can do is to resize the Image,.. Although, many Users nowadays have resolutions of 1024x768 and above..
Thanks demon. I have seen in some websites, a Javascript code that if you have 800x600, opens in that resolution, you don't miss any part of the image and you don't have to scroll, and if you have 1024x768, it is exactly the same thing.
You can do it that way: (I'm not sure about the window.open) <script type="text/javascript"> if(window.screen.height == "600" && window.screen.width=="800") { window.open("url","name","width:;height:;"); } </script> HTML: