Css 100 Background Image. Big thanks, as usual, to Doug Neiner for this alternate version. Fortunately, this task can be taken care cover tells the browser to make sure the image always covers the entire container, in this case html.
Making a background image fully stretch out to cover the entire browser viewport is a common task in web design. Fortunately, this task can be taken care cover tells the browser to make sure the image always covers the entire container, in this case html. Works in Firefox, Safari, and Opera.
Making a background image fully stretch out to cover the entire browser viewport is a common task in web design.
Full height background, but no full width.
Big thanks, as usual, to Doug Neiner for this alternate version. Fortunately, this task can be taken care cover tells the browser to make sure the image always covers the entire container, in this case html. For this example I'm calling mine the ID 'background' for obvious reasons.