By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,192 Members | 1,253 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,192 IT Pros & Developers. It's quick & easy.

css/min-height background/firefox

P: 2
Hi, Ih ave a div tag with a backgound image as 320px and 2 div tags inside the main tag one floating left the other right. In each of the 2 div the height is expandable so may go over the 320px, in IE if either of the divs goes over the 320px the background colour that is set appears in firefox it doen't

the style for the main div is

.tmp_mid{
height:100%;
min-height:370px;
max-height:700px;
margin-bottom:7px;
background: #ce2c2a url('/images/ferrari/main_bg.jpg') no-repeat ;color:#fff;
}


any ideas
Oct 17 '06 #1
Share this Question
Share on Google+
2 Replies


jaymanson
P: 29
I presume your two content divs are floated left & right. What actually happens is that because you've floated the content in these divs, they no longer have any effect on their parent div.

Try also adding a float element to the container div, then see if it works. Let me know if that's no use for layout, etc, as there is another way, but it would help to see the actual page in that case:-)

Jay
Oct 17 '06 #2

drhowarddrfine
Expert 5K+
P: 7,435
In addition, min-height and max-height don't work properly in IE. A link or the complete code would be helpful.
Oct 17 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.