I've been using a fixed image background, if I can call it that, on my web folio. I'm using a image that is big enough to look good on even the biggest screen, and coding it so that the whole picture is always in the browser window, no matter the screen size. Like this;
CSS:
#background {
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: -1;
text-align: center;
}
HTML:
<div id="background"><img width="100%" height="100%" src="http://stinebusch.com/images/UNIVERStestnestenHEL.jpg" /> </div>
But I have an issue with it, as I've discovered that the image gets very stretched when I pull the browser window, as the image always fills the whole window, no matter height or width. I want it to work like on this site; http://www.mychemicalromance.com/news, where the image looks nice in all screen sizes, yet it doesn't stretch if you for example pull the window to a very narrow height.
Does anyone know how I could code that? Thanks!