homepage Welcome to WebmasterWorld Guest from 54.226.147.84
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Frame positioning in Netscape 4
How can Netscape screw up frames?!
madmatt69

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1134 posted 3:21 pm on Oct 19, 2001 (gmt 0)

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!

 

Macguru

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



 
Msg#: 1134 posted 3:44 pm on Oct 19, 2001 (gmt 0)

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

Is it 80 or 90?

madmatt69

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1134 posted 3:51 pm on Oct 19, 2001 (gmt 0)

Thanks for the suggestion, but I've tried that too (to no avail). And it's 90, not 80. Sorry for any confusion!

joshie76

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1134 posted 5:19 pm on Oct 19, 2001 (gmt 0)

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.

madmatt69

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1134 posted 8:20 am on Oct 22, 2001 (gmt 0)

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 :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved