Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with Netscape 6 (MAC) and not setting height

Status
Not open for further replies.

stevet26

Programmer
Feb 9, 2005
53
Hi All

I have produced a site which uses divs floated into position. The site is perfect in all browsers except for Netscape 6 mac.

All of the divs are fixed height, apart from the maincontent one. I have not set the height for this div as it's height will be determined by the content held within it.

However in netscape 6 mac the footer layer come up over the top of the maincontent div. It is as if Netscape 6 ignores the content. Is this the case?

Has anyone else experienced this and if so how did you solve it?

Any help on this would be much appreiated.

Thanking you all in advance.
 
Try giving the footer a style of "clear:both". If that fails try adding a "hidden" element right at the end of your mainContent div:

Code:
<div style="clear:both; height:0px; overflow:hidden; font-size:0px; line-height:0px;"></div>

Hope this helps,
Dan



[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
As an aside... the most recent and currently final version of Netscape for MacOSX is version 7.1 (aka 7.1X)... so version 6 is indeed going back quite some way in terms of versions.

There are so few users on Netscape 6 (which was also quirky and buggy for floating content support) that it's probably not worth spending too long trying to fix. I know it's nice to make it look the same as far back as you can... but sometimes you need to be reminded how relevant it is - that's all [smile]

Here is a matrix of Mac browsers that I use when developing...

This test suite matrix for Mac users shows the most recent versions of all the main browsers:
IE 5.23 (final version of IE for the Mac)
Netscape 7.1X (final version of Netscape for the Mac)
Firefox 1.5.x
Safari 2.0.x
Opera 8.52
Camino 1.0

If you wanted to be a little more proactive on backward support for the Mac, I would recoomend adding these browser versions to your test matrix:
Safari 1.2.3
Firefox 1.07 (final version of 1.0.x)
Opera 7.5.4u1 (final version of 7)

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Hi

Thanks very much for taking the time out to reply.

I have tried Dan's suggestions, but alas no success :( To be honest, I think it is practically impossible.

I think that I will have to take into account what Jeff has mentioned as Netscape 6 just does not seem to work like the othe browsers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top