Welcome to WebmasterWorld Guest from 23.22.19.253

Forum Moderators: incrediBILL

Message Too Old, No Replies

Frame positioning in Netscape 4

How can Netscape screw up frames?!

   
3:21 pm on Oct 19, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Alright, I've used frames lots of times, but this is the first time NS4 has really made me want to scream. The top frame is 80 pixels, the bottom is relative. Simple enough right? Wrong! For some reason in NS4 when I resize (yes I already have the resize fix in the page) the bottom frame slides up over top of the top frame by a few pixels at a time!!

Any ideas how to fix this? This is what the code looks like -
<frameset rows="90,*" frameborder="NO" border="0">
<frame src="top.htm" name="topFrame" scrolling="NO" noresize >
<frame src="main.htm" name="mainFrame" >
</frameset>

Thanks for any help, you guys rock!

3:44 pm on Oct 19, 2001 (gmt 0)

WebmasterWorld Senior Member macguru is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Not sure here, did you try the marginwidth="0" marginheight="0" attributes?

Is it 80 or 90?

3:51 pm on Oct 19, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for the suggestion, but I've tried that too (to no avail). And it's 90, not 80. Sorry for any confusion!
5:19 pm on Oct 19, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is a big known bug in NS4. Annoying huh? The only solution that I've heard of (but never dared/bother attempt) is to use lots of clever javascript to resize the frames depending on the window size... forget it. You'd also need to fully understand the bug (it has been documented) - I really don't fancy trying this with NS4's shaky client scripting.

Just make sure your frames are lenient enough to cope with the +/- a few % shift in sizes. It isn't as ugly as you might think ... besides a good 70+% of people will not be using NS4 and will see your pages as you intended them:)

Perhaps somebody else here has a work around in their bag of goodies... I wouldn't hold out too much hope though.

8:20 am on Oct 22, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Stupid Netscape! Thanks for the info, and I guess it doesn't look THAT bad having shifted a few pixels. Old NS users will just have to cope with it or join the rest of the modern world and upgrade :)