Problem with background image within a div in firefox
-
Site: project-jericho.com
An organization recently hired me to give their web site a “face lift”. Everything was working fine until I tried to tile a background within the main content div.
If you go to the page in internet explorer, you’ll see how it’s supposed to look. In firefox, however, the background stops repeating after 400px. I’m guessing this has something to do with the min-height: 400px within html #content;, but I have no idea why it’s not working.The css (if necessary): (this is the css for everything under /* content */ which I’m fairly sure is where I’ve isolated the problem to.
/* content */ #main{ width:680px; color:#333;margin:auto; background-image: url('img/bgx2.jpg'); background-color: #000; text-align:left; background-repeat: repeat-y; } #content{ width:440px; float:left; padding:10px 10px 20px 10px; } * html #content{ padding-top:20px; } html #main{ minheight: 400px; height: auto !important; height: 400px;} #content .post { margin:0 0 3em 0; } #content .cat { margin:0; padding:0; color:#999; } #content .post-info { color:#777; text-align:right; } #content .post-info em { font-style:normal; float:left; margin:0 5px 0 0; } em.user { padding-left:12px; background:url(img/user.png) no-repeat left center; } em.date { padding-left:15px; background:url(img/date.gif) no-repeat left center; } #main .post-comments { background:url(img/comments.gif) no-repeat left center; padding-left:12px; }
I’ve been wasting hours in this office on this and any help would greatly greatly appreciated. Thank you so much in advance.
-Josh
- The topic ‘Problem with background image within a div in firefox’ is closed to new replies.