100% width hieght of bacggound image in css code example
Example: how to set background automatically with my screen height
html {
background: url(image.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}