Frames in Netscape - Can't make Netscape display my frames correctly (Posted by Chronozon)

They have: 2 posts

Joined: Oct 1999

Ok, I have a somewhat serious problem here. Netscape doesn't seem to display frames in the size I've put in my code. In IE, however, it works perfectly. I've put up a page where you can see this problem. The URL is http://www.bahnhof.se/~timeless/ieframes.htm. I can't make it look right in Netscape no matter what I do. This is the code for the frames:

<frameset rows="*,24,339,23,*" border="0" frameborder="0" framespacing="0">
<frame src="surround.htm" name="surround1" scrolling="no">
<frame src="top.htm" name="top" scrolling="no" marginwidth="0" marginheight="0">
<frameset cols="*,54,646,54,*" border="0" frameborder="0" framespacing="0">
<frame src="surround.htm" name="surround2" scrolling="no">
<frame src="left.htm" name="left" scrolling="no" marginwidth="0" marginheight="0">
<frame src="main.htm" name="main" marginwidth="30" marginheight="5">
<frame src="right.htm" name="right" scrolling="no" marginwidth="0" marginheight="0">
<frame src="surround.htm" name="surround3" scrolling="no">
</frameset>
<frame src="bottom.htm" name="bottom" scrolling="no" marginwidth="0" marginheight="0">
<frame src="surround.htm" name="surround4" scrolling="no">
</frameset>

I'm using IE 5.0 and NS 4.7. I'd really appreciate some help on this matter.

Thanks,

Ian

They have: 2,390 posts

Joined: Nov 1998

Before I take a look at the source code can I ask why you are not simply using a table arrangement to achive the current effect?
Just curious...
JP

----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center

They have: 2 posts

Joined: Oct 1999

Two reasons: First of all it's because I want the middle frame to be scrollable since this it where the contents will be. Secondly, by using frames I can avoid keeping the whole interface (buttons etc) on every page..

Ian

They have: 5,633 posts

Joined: Jan 1970

I am actually having the exact same problem. If anyone has any suggestions, I'd love to hear them. This is driving me nuts!

Or is this a have-to-deal-with-it-too-damn-bad aspect of Netscape?

I am only concerned with 4.x+ browsers

Thanks...

----------
- James MacDonald

They have: 2 posts

Joined: Oct 1999

I've had the same problem with Netscapes offsets in frames. On the Netscape specs page (http://home.netscape.com/assist/net_sites/frame_syntax.html), it says that marginwidth/height cannot be less than 1, which means that if it is set to 0, Explorer will let the graphics touch the edge of the while Netscape will put an offset of 1 pixel. Does anyone know of a way around this???

Thanks,
Kevin Maines

They have: 297 posts

Joined: Apr 1999

That's not true for newer versions of Netscape. (You have to define the margins within the document and the frameset + you have to o define leftmargin and topmargin in the document).

I'm always having the same problem with IE, cuz I design it for Netscape and then test it in IE and it often does not work in both browsers the same way, but you can usually find a way around it. There is no general workaround but to "trial and error."

If you are doing such difficult and nested framesets there is another problem in both browsers. Upon resizing they are often off a few pixels. So, I would recomment to make your design a combination of frames and tables, and maybe <div> layers.

Later,

Malte

----------
Malte Ubl - [red]Germany[/red] - http://www.schaffhausen-interactive.de/
[red]The beats of 1000 hearts inside...[/red]

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.