Image Adjust to Screen Resolution

I had a need to display a fullscreen image on a web site while it was still “under development”. As such, sticking an image of set height, would cause the image to be unevenly displayed across the different browsers and screen resolutions.

In order to solve the problem; I used this very simple code:


Don't be shellfish...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrEmail this to someone

Leave a Reply