Frame problem in Netscape

They have: 47 posts

Joined: Jan 2000

Hi, I have a small problem with a frame in Netscape. Can you help me?

If you visit my site and click on any of the buttons on the home page, a framed page will load. The left frame contains the menu which works perfectly in IE, but if viewed with Netscape, the rightmost part of the frame gets cut off for some reason.

Do you have any suggestions on how to fix this???

I've had a few Browser Compatibility problems with Netscape, and I fixed most of them, except for this one.

Thanks.
Eugene
http://www.interprosolution.com
FREE Tools & Services for Webmasters

[This message has been edited by Eugene Grinberg (edited 10 February 2000).]

merlin's picture

They have: 410 posts

Joined: Oct 1999

have you specified 'framespacing=0' in your code? as i know, it's needed for IE to seperate the frames correctly.

as you say, NS doesn't show it the right way, eventhough i like it more...

They have: 268 posts

Joined: May 1999

Try adding the following BODY tag to all of the pages.

<body LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">

This will set the page margins to zero. One set will set it for IE the other for Netscape.

Let us know if this works.

------------------
My goal in life is found in Phillipians 4:8-9

My goal in life is found in Phillipians 4:8-9
shoutingrock.org/troop214

They have: 47 posts

Joined: Jan 2000

Thanks guys,

I tried your suggestions, and unfortunately they did not work. The problem is with the FRAMESET. My left frame is supposed to be 226 pixels, but in Netscape it's smaller than that. Maybe I should just use a script which will increase the size of the left frame if the browser is Netscape.

What do you think?

They have: 297 posts

Joined: Apr 1999

There are always problems in both browser with frame width and heights. they never work in both browsers. You should never integrate two frames except with a color are, so it doesnt matter if you there are a few pixels off or too much.

Try to make the frame a little bigger than neccessary, so it works in both borwsers.

Malte

They have: 488 posts

Joined: Feb 2000

I viewed your code for the page using frames. Below is the new code, it should have the same effect for Netscape and IE.

Please change the setting to your requirements, I set it for (rows 25%,75%) and (cols 50%,50%)

.............................................
<html>
<head>
<TITLE>InterProSolution.com - Complete Internet Promotion Solution - internet promotion tools and services,
submit your site to search engines and directories , web marketing, successful business, banner exchange </TITLE>
</head>

<frameset framespacing="0" border="false" frameborder="0" rows="25%,75%">
<frame name="banner" scrolling="no" noresize target="contents" src="top.asp"
marginwidth="0" marginheight="0">
<frameset cols="50%,50%">
<frame name="contents" target="main" src="menu.asp" scrolling="no" marginwidth="0"
marginheight="0" noresize>
<frame name="main" src="products_main.asp" scrolling="auto" marginwidth="0" marginheight="0">
</frameset>
<noframes>
<body topmargin="0" leftmargin="0">
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
.............................................

NSS http://www.unitronics.com

[This message has been edited by NSS (edited 14 February 2000).]

[This message has been edited by NSS (edited 14 February 2000).]

They have: 47 posts

Joined: Jan 2000

Thanks guys,

I appreciate your comments, and I think that I'm gonna have to go with Malte's suggestion. I will write a script which will check for the browser type, and it will increase the frame by a few pixels if the browser is Netscape.

I would also like to thank NSS for your suggestion. I am afraid that it's not going to work though, because I need exact sizes for my frames because of the images that are supposed to form a globe, if properly aligned. Setting the frame sizes to %'s would not accomplish that. But thanks anyway, I really appreciate the time you took to suggest your idea.

Eugene Grinberg http://www.interprosolution.com
FREE Tools & Services for Webmasters

They have: 5 posts

Joined: Feb 2000

Just was browsing the Ultimate Bulletin Board for the same reason and have come to more or less the same conclusion.

However, I will make an entry page to check the browser and than take different paths depending on the browser. Using Domino will let me realize this approach relatively easy.

Two years ago we designed our first WEB site and had the same problems. Strange enough that even the lates browser versions still don't behave any better.

Over the last two days I was looking around what others with silmilar types of web sites are doing - and surprise, surprise - they don't use frames at all. Now, I understand why!

An eksample of what I'm trying to achieve is something like www.seattleweekly.com but with frames (www.seattleweekly.com doesn't use frames at all).

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.