Mergomo Posted July 14, 2009 Report Share Posted July 14, 2009 Background image is not rendered in IE6. It?s rendered in Firefox, Safari, IE7 and IE6. The CSS code that I?m using is #content .faqs {background: url('../img/bg_content_faqs.gif') repeat-x; margin-top: 20px; margin-bottom: 20px; padding-left: 35px; overflow: hidden; } Any ideas on what is not working??? Quote Link to comment Share on other sites More sharing options...
Shilon Posted July 15, 2009 Report Share Posted July 15, 2009 #content .faqs { width: "image width" height: "image height" background-image: url('../img/bg_content_faqs.gif') background-repeat: repeat-x; margin-top: 20px; margin-bottom: 20px; padding-left: 35px; } Quote Link to comment Share on other sites More sharing options...
virtual Posted July 15, 2009 Report Share Posted July 15, 2009 That may work, but not without the semi-colons at the end of each statement.... Quote Link to comment Share on other sites More sharing options...
Mergomo Posted July 15, 2009 Author Report Share Posted July 15, 2009 Thank you Virtual and Shilon, I tried that (with the semi-colons at the end) but it didn't work (and the browsers that were working fine stopped displaying the background image - I think because I took out the overflow element)...I've tidied up the code to: #content .distributors { background-image: url('../img/bg_content_awards.gif'); background-repeat: repeat-x; margin-top: 20px; margin-bottom: 20px; padding-left: 35px; overflow: hidden; } BTW, you can see the html in the site in http://www.katpak.com/cat_toilet_distributors.html if it's of any help. Quote Link to comment Share on other sites More sharing options...
Wickham Posted July 16, 2009 Report Share Posted July 16, 2009 (edited) Try #content.distributors { } without a space between content and .distributors I've just tested a simple page of my own with and without a space in IE7 and Firefox and if it has a space it doesn't show the background in any of them, so I don't know how any of your styles work as lots have a space. Edited July 16, 2009 by Wickham Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.