I'm trying to build a fluid layout, for which I am styling big images with:
.fluid_img {
height: auto;
width: auto;
max-width: 100%;
}
This works fine, the problem is that I can no longer use the width and height attributes in the html img tag (they will have no effect). I need those attributes so the browser can "save" the space needed for the image before it has been loaded, so the rest of the page don't move when the image is loaded.
Is there any way to have both features? (fluid image + space saved before image load)