SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Evangelist mumford1's Avatar
    Join Date
    Sep 2002
    Location
    UK
    Posts
    573
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Overflow Property means Netscape does not display Content - Need help!

    Hi

    Could someone tell me why the content is not showing in Netscape 7 please

    This is the site http://www.hardingscatering.co.uk/06/index.htm

    I have put an overflow property on the container div, so FF can show white as the bground colour.

    But when viewed in Netscape the content is not there and on other pages a scroll bar appears.

    I always have trouble with this, and would really like to know what I am doing wrong.

    Thanks for any help.

  2. #2
    Non-Member lostseed's Avatar
    Join Date
    Sep 2005
    Location
    Zurconion Soon!
    Posts
    1,549
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Man I just had to comment and say thats a beautiful and professional design.
    Unfortunately I only have IE,FF,Opera,K-Meleon! I thought NetScape was extinct!

  3. #3
    doing my best to help c2uk's Avatar
    Join Date
    May 2005
    Location
    Cardiff
    Posts
    1,832
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by lostseed
    Man I just had to comment and say thats a beautiful and professional design.
    Unfortunately I only have IE,FF,Opera,K-Meleon! I thought NetScape was extinct!
    I actually thought the same, at least until they came out with Netscape 8. Personally, I wouldn't bother if it is really just Netscape 7 that causes the problem.
    Dan G
    Marketing Strategist & Consultant

  4. #4
    SitePoint Evangelist mumford1's Avatar
    Join Date
    Sep 2002
    Location
    UK
    Posts
    573
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the comments, unfortuantely I have to factor in Netscape 7 (a pain I know)

    Would really like to crack this!

  5. #5
    doing my best to help c2uk's Avatar
    Join Date
    May 2005
    Location
    Cardiff
    Posts
    1,832
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did some reading and I came out with a few things (in German, so I won't provide a link):
    1. this seems to be a well known bug, the only recommendation was to upgrade it to Netscape 8.
    2. You might be able to use a clearing div at the end of your container div instead of overflow:auto to get the same effect
    Dan G
    Marketing Strategist & Consultant

  6. #6
    SitePoint Evangelist mumford1's Avatar
    Join Date
    Sep 2002
    Location
    UK
    Posts
    573
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okay thanks

  7. #7
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,475
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Use the clearfix method if you don't want to use structural mark-up (as suggested by c2uk above - which should also work).

    e.g.
    Remove the overflow:auto from #container and add the clearfix code as follows without amending or changing the order at all of the clearfix code.
    Code:
    #container{
    background:#fff;
    border-right:8px solid #fff;
    border-left:8px solid #fff;
    border-bottom:8px solid #fff;
    margin:0 auto;
    text-align:left;
    width:740px;
    }
    .clearfix:after {
    	content:"."; 
    	display:block; 
    	height:0; 
    	clear:both; 
    	visibility:hidden;
    }
    .clearfix {
    	display:inline-block;
    }
    /* mac hide \*/
    	* html .clearfix {height: 1%;}
    	 .clearfix {display: block;}
    /* End hide */
    Code:
    <div id="container" class="clearfix">
    <div id="print-header"><img src="images/logo.gif" alt="Hardings Bar &amp; Catering Services Ltd" /><br />
    That works in NN6.22 so I'm assuming NN7 is ok

  8. #8
    SitePoint Evangelist mumford1's Avatar
    Join Date
    Sep 2002
    Location
    UK
    Posts
    573
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    great thanks Paul - that did the trick


Bookmarks

Posting Permissions

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