this is not working in IE8, can some give me code to work in IE8 also
html {
background: url(images/bg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
Loading

Iftikar HussainRank #423 · 5.9K reputationPosted Jul 18, 2013, 7:24 PM EDT
What is not working in IE8? Can you provide the screen shot? What exactly you are looking for?
Regards,
Iftikar
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 18, 2013, 8:17 PM EDT
html {
background: url(images/bg.jpg) no-repeat center center fixed !important;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
David SmithRank #999 · 2K reputationPosted Jul 18, 2013, 8:30 PM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 18, 2013, 8:46 PM EDT
Regards,
Iftikar
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 18, 2013, 8:51 PM EDT
Refer to this below link
http://css-tricks.com/perfect-full-page-background-image/
David SmithRank #999 · 2K reputationPosted Jul 19, 2013, 12:23 AM EDT
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 19, 2013, 12:36 AM EDT
you got the point your css code is css3.0 which is not supporting older version of IE.
David SmithRank #999 · 2K reputationPosted Jul 19, 2013, 8:53 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 19, 2013, 9:16 AM EDT
Regards,
Iftikar
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 19, 2013, 9:36 AM EDT
you can try like this for IE.
example:-
hello world
try this one.
here i am taking a image in html make this Z index to -1001 so it will always low stack value. so it will always behind background image.