Forum Moderators: open

Message Too Old, No Replies

Annoying lines around frames in Netscape 4.7

can't get rid of lines around frames

         

mckcd

5:43 pm on Apr 9, 2003 (gmt 0)

10+ Year Member



Help I can't get rid of lines in Netscape 4.
Is it possible? :(

[edited by: mckcd at 5:52 pm (utc) on April 9, 2003]

Alternative Future

5:50 pm on Apr 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello and Welcome to WebMasterWorld mckcd,

You might want to remove your url before the MOD's do ;)

It's been a while since i worked with frames but i think you require to also include marginwidth="0" marginheight="0" which i see you have done (drat! i should really just go to bed) will have another look 8-)

HTH,

-gs

mckcd

5:55 pm on Apr 9, 2003 (gmt 0)

10+ Year Member



Already used it. Doesn't help
marginheight="0" and marginwidth="0" ;)

Alternative Future

6:00 pm on Apr 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried removing all the attributes from the frameset except for the rows="blah, blah" and putting the frameborder="no" border="0" framespacing="0" into the frame element?

-gs

mckcd

6:03 pm on Apr 9, 2003 (gmt 0)

10+ Year Member



Will try...

NADA!

Problem in the target pages, maybe?

DrDoc

8:19 pm on Apr 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



try frameborder="0" instead of "no"

universalis

8:27 pm on Apr 9, 2003 (gmt 0)

10+ Year Member



Here's a basic outline of a frameset document without spaces or borders:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>Your title here</title>
<meta http-equiv="Content-Language" content="en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<frameset cols="15%,*" [B]frameborder="0" border="0" framespacing="0"[/B]>
<frame name="menu" target="main" src="sidebar.html">
<frame name="main" src="main.html">
<noframes>
(noframes stuff here)
</noframes>
</frameset>
</html>

Hope this helps!

mckcd

9:36 pm on Apr 9, 2003 (gmt 0)

10+ Year Member



Changing frameborder="no" to frameborder="0" makes no difference either.
May have to consider browser detection. :(
Which is the whole reason I used frames instead of I frame anyway.
I'm getting only 2% Netscape 4 visitors though.

ShawnR

12:50 am on Apr 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Doesn't sound like a difficult problem. I suggest you post some cut-down snippets of your frameset file and your target file, and I'm sure someone will be able to help.

Shawn

DrDoc

12:50 am on Apr 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In each <frameset>:

frameborder="0" framespacing="0" border="0"

In each <frame>:

frameborder="0" marginheight="0" marginwidth="0"

Those are all necessary to create borderless frames. Without those attributes some browsers will misbehave. Do that, and you'll see it works :)

mckcd

1:37 am on Apr 10, 2003 (gmt 0)

10+ Year Member



as Shawn suggested

<!-- this is my frames page -->

<html>

<head>

</head>

<frameset rows="117,*" frameborder="0" border="0" framespacing="0">
<frame name="top" src="top_frame_content.html" scrolling="no"
frameborder="0" border="0" marginheight="0" marginwidth="0" noresize>
<frameset cols="141,*" frameborder="0" border="0" framespacing="0">
<frame name="nav" src="left_frame_content.html" scrolling="no"
frameborder="0" border="0" marginheight="0" marginwidth="0" noresize >
<frame name="body" src="home.html" scrolling="auto"
frameborder="0" border="0" marginheight="0" marginwidth="0" noresize>

<noframes>
<body>
This page requires a frames enabled browser.
</body>
</noframes>
</frameset>
</frameset>

</html>

_____________________________________________________________________________

<!--
top_frame_content.html other than the obvious
missing <html> tags etc. contains only this table
-->

<TABLE border="0" cellpadding="0" cellspacing="0" summary=""
width="730">
<TR>
<TD height="39" width="183" ><IMG
src="images/new_stay_home_1x1.jpg"></TD>
<TD height="117" width="355" rowspan="2"><IMG
src="images/new_stay_home_1x2.jpg"></TD>
<TD height="117" width="192" rowspan="2"><IMG
src="images/new_stay_home_1x3.jpg"></TD>
</TR>
<TR>
<TD height="78" width="183" ><IMG
src="images/new_stay_home_2x1.jpg"></TD>
</TR>
</TABLE>

________________________________________________________________________________
<!-- left_frame_content (onmouse, onclick ommitted)
-->

<DIV>
<TABLE border="0" cellpadding="0" cellspacing="0" summary="left frame" bgcolor="#FFFFFF">
<TR>
<TD rowspan="5" width="25" height="180" valign="top"><IMG
src="images/new_stay_home_3x1.jpg" alt=""></TD>
</TR>
<TR>
<TD height="35">
<IMG name="new_stay_home7" src="images/new_stay_home_4x1.jpg"
width="116" height="35" border="0"></TD>
</TR>
<TR>
<TD height="33">
<IMG name="new_stay_home8" src="images/new_stay_home_5x1.jpg"
width="116" height="33" border="0"></TD>
</TR>
<TR>
<TD height="36">
<IMG name="new_stay_home9" src="images/new_stay_home_6x1.jpg"
width="116" height="36" border="0"></TD>
</TR>
<TR>
<TD height="36">
<IMG name="new_stay_home10" src="images/new_stay_home_7x1.jpg"
width="116" height="36" border="0"></TD>
</TR>
<TR>
<TD colspan="2" height="114"><IMG
src="images/new_stay_home_8x1.jpg" alt=""></TD>
</TR>
<TR>
<TD colspan="2" height="500" valign="top"><IMG
src="images/new_stay_home_9x1.jpg"></TD>
</TR>

</TABLE>
</DIV>

______________________________________________________________________________

<!-- body -->

<body bgcolor="#COCOCO" topmargin="0" leftmargin="0">

<TABLE cellspacing="0" cellpadding="0" border="0" bgcolor="#FFFFFF" height="560">
<TR valign="top">
<TD width="20"> &nbsp; </TD>
<TD width="280">
Some Text etc.
</TD>
<TD width="289">
<img src="images/free.jpg" align="right"></TD>
</TR>
</TABLE>

</body>

tedster

2:50 am on Apr 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What you're seeing in NN4 may be a sliver of default background color, showing through where the frames join - rather than a true frameborder which looks 3-D.

ShawnR

2:50 am on Apr 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't see any problem with the frameset. I think the problem is with
<body bgcolor="#COCOCO" topmargin="0" leftmargin="0">

topmargin and leftmargin are IE specific and more modern, so NN4 ignores them. You have specified bgcolor="#COCOCO", but not specified a background colour for the table cells. So the table cells will be white, and the background will be #COCOCO, giving the impression you see. To see what I mean open up the body file in NN, and see what it looks like without the frame context.

One other comment:

<noframes>
<body>
This page requires a frames enabled browser.
</body>
</noframes>

is pretty rude to those few visitors ... and it is not very search-engine friendly. How about just sticking a menu or site map there?

Shawn

mckcd

3:27 am on Apr 10, 2003 (gmt 0)

10+ Year Member



Thanks for all the help!