...

View Full Version : Content disappears IE7 /8 WHY!!!ok in IE6



robcoles
06-18-2010, 01:41 AM
I can't for the life of me work out why main content is disappearing in IE7 & 8

http://www.cricketcoachingclinics.com.au/
but this page works
http://www.cricketcoachingclinics.com.au/venue.html

Difference is (venue) page has content div only
Rest of site has left div (float left) and right div (float right) inside content div with plenty of space?
Any ideas?
Could it be too many comments bug??

Excavator
06-18-2010, 02:39 AM
Hello robcoles,
Adding overflow: auto; to #content makes it work.

#content {
background: #fff;
position: relative;
padding: 10px 22px 0 0;
clear: left;
background: url(../images/stephen.jpg) no-repeat left bottom;
overflow: auto;
}I prefer that method of clearing over your use of <p class="clear-both></p> in the markup.
See that method explained here - http://www.quirksmode.org/css/clearing.html

robcoles
06-18-2010, 03:33 AM
You are the most beautiful person in the world. I love you



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum