I have this div:
<div id="background">
<img src="imagenes/index.jpg" height="auto" width="100%"/>
</div>
with this CSS:
#background {
position: fixed;
width: 100%;
height: 100%;
top: 0%;
left: 0%;
right: 0%;
z-index: -1; }
I want to know if there is a way to change the image height/width depending in whether the device/browser is bigger in the height/width so the image can cover the full screen.
I know changing the height="100%" width="auto" would make a good option if the device/browser is taller, but if it is wither it is not.
Any good idea?