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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames in Netscape (I'm pulling my hair out!) 2

Status
Not open for further replies.

JennyW

Technical User
Mar 1, 2001
323
CA
Hi,
I'm attempting to make a website with frames.

Everything is OK in IE, but I have a problem in Netscape.

Netscape keeps adding a horizontal scrollbar background above my bottom frame. I don't want this scrollbar background.

Here's my test site...

Is there a way to fix this?

Thanks for reading and have a good rest of the weekend!
Jenny
 
My frameset is...

<frameset rows=&quot;100%,22&quot; frameborder=no border=0 cols=&quot;*&quot;>
<frameset cols=&quot;136,100%&quot; frameborder=no border=0 rows=&quot;*&quot;>
<frame src=&quot;001_Menu.htm&quot; scrolling=no name=&quot;&quot; noresize>
<frameset rows=&quot;67,100%&quot; cols=&quot;*&quot;>
<frame src=&quot;001_top.htm&quot; name=&quot;&quot; scrolling=no noresize>
<frame src=&quot;001_body.htm&quot; scrolling=yes noresize name=&quot;&quot;>
</frameset>
</frameset>
<frame src=&quot;001_Bottom.htm&quot; scrolling=no name=&quot;&quot; noresize>
</frameset>
<noframes><body bgcolor=&quot;#FFFFFF&quot;>
 
Hi Jenny,

you should set the scrolling to &quot;auto&quot; mode

correct this line
<frame src=&quot;001_body.htm&quot; scrolling=yes noresize name=&quot;&quot;>
to
<frame src=&quot;001_body.htm&quot; noresize name=&quot;&quot;>

this should solve your problem, =)

thanks


Chiu Chan
cchan@emagine-solutions.com
 
Hello Jenny,
NN does not like very much frame
you have also to be cautious with the Z index
be aware that NN does not allow for border
and that you should not design anything wider than
600 650 max
NN for the 100% reason thinks that your content might go overboard and therefore provide a lateral scroll bar
which in web design is a no no.
think that most PC are still in 800 or even less
and that many folks do not upgrade browsers
 
Hi peppy!
Thanks so much for the help, it worked great!

keypounder, thanks for the info.!

What did you mean when you wrote...

you have also to be cautious with the Z index
- what does z index have to do with NN?

be aware that NN does not allow for border
- What does this mean?

Thanks,
Jenny

Thanks again Peppy!
 
Hello Jenny,
for ex you decide to create a nice nav bar (frames)+ CSS
border-color and border-style and border-width will mostly not work and the whole frame might collapse on itself.

same with the Z index in some NN version it won't work
for ex use the position tag and place an image atop a text block and set a negative value of -1 the text will nicely appear above img
do the reverse +1 and the img will come to the foreground
masking the text
well I run 2 browsers in order to see my pages in 2 dif environment
and my NN is 4.7 (which is the average installed)
in that NN case the img will always run in the foreground
and NN will do not see +1 or -1

you may also consider (depending of the targeted users) that you do not care about NN and design for IE
stats will help you here

henry
 
Hi keypounder,

Would that z-index problem for NN be the reason that my TOP image (on my test website) isn't completely showing?

If you look at my site in...

- IE everything looks fine.
- NN the TOP image (red) is cut off at the bottom.

Here's my url...

Thanks,
Jenny
 
Hi Jenny,
this is strange I should have started by doing that:
I checked your site in IE 5. and NN 4.7 at my usual 1024
then I shifted and redid the sme test in 800 resolution
well, I do not see any problem??
the Img is loading fine, w/out any missing part??
be aware that NN as a tendency to slightly enlarge areas
but again it should not impact on you area view.

the scroll bar will be there since you keep it at 100%
but the IMG situation is new, could you be more precise since I cannot duplicate your problem
try to post a print screen if the board does not allow for
e-amil it to me at henry@consulting-henry.com

 
Hi keypounder,

The red image (border) at the TOP of my website should have a white trimming under it.

The entire image is showing up in IE 5 and 5.5, but not in NN 4.7

I can't see it in NN 4.7, it's weird how you can. I'll try making some adjustments.

Thanks,
Jenny
 
Jenny

I was running into the exact same problem - the bottom portion of my images in a frame were getting cutoff in Netscape 4.7 (they looked fine in Explorer 5.01,5.5 and Netscape 6). The only way I could figure to handle it was to use a little javascript to detect which browser was being used and then if the browser was Netscape 4 to use a different frame size (I increased it a few pixels so the bottom wouldn't get cut off). I've included the sample code I used, you'd have to swap in your frameset line with what's here. I really don't like the way Netscape 4.7 handles frames, but I guess all us coders have to deal with it. If you've heard of a better way, please let me know.

-Heather
:eek:)
-----------------------------------

<script language=&quot;JavaScript&quot;>
var IE4 = (document.all && !document.getElementById) ?true : false;
var NS4 = (document.layers) ? true : false;
var IE5 = (document.all && document.getElementById) ? true : false;
var N6 = (document.getElementById && !document.all) ? true : false;
if(NS4){
document.write(&quot;<frameset rows='82,*' framespacing='0' border='0' frameborder='0'>&quot;);
}else{
document.write(&quot;<frameset rows='74,*' framespacing='0' border='0' frameborder='0'>&quot;);
}
</script>

-----------
then you would continue on with your <frame> tags and the rest of the page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top