KGH Posted February 21, 2014 Share Posted February 21, 2014 I have gradient image which i want to place for background of a page(for the whole page) but not getting.I tried cover which doesnt work in IE.Please suggest me.attached the code. Thank you. index.html style.css Link to comment Share on other sites More sharing options...
davej Posted February 21, 2014 Share Posted February 21, 2014 Try... body{background-color:#ddd;background-image:url('./images/gradient2.jpg');background-repeat:no-repeat;background-attachment:fixed;background-position:center; background-size:100% 100%;margin:0 auto;font-family:Georgia, "Times New Roman", Times, serif;font-size:12px;font-weight:normal;color:#666;} 1 Link to comment Share on other sites More sharing options...
KGH Posted February 21, 2014 Author Share Posted February 21, 2014 Thank you for your reply. It is working in chrome and FF but not in IE.What can we do for that?My IE version is 8.0. Link to comment Share on other sites More sharing options...
dsonesuk Posted February 21, 2014 Share Posted February 21, 2014 upgrade IE version Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now