Stretching an image as background in IE8
in your css add
html,body{
padding:0 0 0 0;
margin:0 0 0 0;
overflow-x:hidden; // To remove the bottom scrollbar
}
Hope it works.
Background Not Stretching in IE8
Using an img
with one of the method detailed here: Perfect Full Page Background Image can be compatible with IE8+ or IE7+.
Otherwise it's not that important if your particular browser doesn't understand this or that (except if it's the most important aspect of your page, but it shouldn't be so for a background image). Progressive enhancement and graceful degradation are cool ;)
Fading Image Background with Stretched BG in IE8 (Javascript and CSS)
From what I can see you are using the background property on an html element. What if you tried instead using an image element and just layering it in behind your content. I would think you should be able to just set width and height on that no problem (even in IE8) and then use jQuery's .fade() or animate the opacity.
Related Topics
Use HTML Tag Names, Classes or Ids in CSS
Make Second Div Appear Above First, Without Absolute Position or Changing HTML
How to Override the Minimum-Font-Size in Firefox
How to Get Cross Browser Compatibility in Print on Page from All Browsers
Xmlns W3 Url for Svg Spec Now Throwing Error in Chrome
Why Does User Agent Stylesheet Override My Styles
Bootstrap 3: Can the Glyphicons Be Stacked Like Font Awesome's Icons
How to Change the Color of the Scrollbar for Microsoft Edge
Change Collapse Breakpoint in Bootstrap 3.0
How to Make a Transparent Border with CSS
How to Center Variable Width Divs in CSS
CSS Sticky Header/Footer and Fully Stretched Middle Area
CSS - Circle Border with Various Colors
How to Inline Less Stylesheets
Why Do 'Foo Bar' and 'Foo > Bar' Have the Same Specificity in CSS