kyllle — 2010-04-21T04:46:17-04:00 — #1
Iv created this site http://icehouseonline.co.uk/
In all the pages that apart from the homepage the main content area seems to be messing about and not displaying any content in ie6, anyone any ideas why this could be?
Thanks in advance!
rayzur — 2010-04-21T12:57:06-04:00 — #2
You need to set "haslayout" on the #main_content div for IE6. The overflow property took care of haslayout for IE7. You might consider changing it form auto to hidden, that will eliminate the risk of any scrollbars.
A simple width will take care of IE6. (account for your paddings)
padding: 20px 20px 15px 20px;
<font color='Blue'>overflow:hidden;</font>/*contain floats (was auto)*/
<font color='Blue'>width:900px;</font>/*IE6 haslayout (940px total with padding)*/
kyllle — 2010-04-21T15:19:38-04:00 — #3
Cheers Rayzur!! Worked a treat!