Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2008
    Location
    Aus
    Posts
    16
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Content disappears IE7 /8 WHY!!!ok in IE6

    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??

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,826 Times in 1,810 Posts
    Hello robcoles,
    Adding overflow: auto; to #content makes it work.
    Code:
    #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
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    robcoles (06-18-2010)

  • #3
    New Coder
    Join Date
    Aug 2008
    Location
    Aus
    Posts
    16
    Thanks
    4
    Thanked 0 Times in 0 Posts
    You are the most beautiful person in the world. I love you


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •