I am having problems with overlapping div's in IE7. #mainContainer doesn't seem to consider 100% height. It only expands to monitor rezolution. Everything is fine in IE6, Opera, Firefox. Please have a look at it here: http://www.studioweber.ro/html/test.htm . Thanks in advance for your help. Alex
This works for me in both FF & IE7. Comment out the height attribs. #mainContainer { position : relative; display: table; width: 580px; /* height: 100%; min-height: 100%; */ top: 0px; background-image: url(../assets/bg01.jpg); background-repeat: repeat-y; padding-left: 40px; padding-right: 110px; } Code (markup): cheers, Steve
Thanks Avo, I tried the code above and it works fine, but I also need the #mainContainer to have 100% height even if the text is shorter as in this example: http://www.studioweber.ro/html/test2.htm - in this case I only need a workaround code to have FF considering height: 100% and IE7 to have it ignored. I'm not sure if this is possible... Alex