Hello
i'm having a problem with frames in netscape. I've already searched in the forum for past posts and i can't find anything that's similar to this. unless i'm just blind.
anyways, I'm making a framed page in IE and it looks great but in netscape it doesn't look right because for some reason it doesn't recognize or it doesn't push the page to the very edge of the screen like it does in IE.
I'm using the following Body tags in all my pages:
<body bgcolor="#FFFFFF" text="#000000" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 MARGINWIDTH="0" MARGINHEIGHT="0">
and then on top of that i'm using the following frameset code:
<FRAMESET ROWS="*,420,*" MARGINWIDTH="0" MARGINHEIGHT="0" border="0" FRAMEborder="0">
<FRAME NAME="top" SRC="blank.htm" border="0" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE>
<FRAMESET MARGINWIDTH="0" MARGINHEIGHT="0" border="0" COLS="*,750,*">
<FRAME NAME="leftside" SRC="blank.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" border="0" NORESIZE>
<FRAMESET rows="65,*,23" border="0" FRAMEborder="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<FRAME NAME="top" SRC="top.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE border="0">
<FRAMESET MARGINWIDTH="0" MARGINHEIGHT="0" border="0" COLS="2,*,2" framespacing="0">
<FRAME NAME="leftbar" SRC="left.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" border="0" NORESIZE>
<FRAMESET rows="20,*" border="0" FRAMEborder="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<FRAME NAME="nav" SRC="nav.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE border="0">
<FRAME NAME="middle" SRC="middle.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE border="0">
</FRAMESET>
<FRAME NAME="rightbar" SRC="right.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" border="0" NORESIZE>
</FRAMESET>
<FRAME NAME="bottom" SRC="bottom.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE border="0">
</FRAMESET>
<FRAME NAME="rightside" SRC="blank.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE border="0">
</FRAMESET>
<FRAME NAME="bottom" SRC="blank.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" border="0" FRAMEborder="0" NORESIZE>
</FRAMESET>
the problem lies in that where the frameset leftbar and rightbar are only supposed to be 2 pixels wide, it works fine in IE but in netscape it adds white space borders on the sides.
i suspect that this doesn't have anything to do with the frame set however, because when i view the page with all borders=1 i notice that the frames leftbar and rightbar are not 2 pixels. they have some white space. But the white space is on the right of the leftbar page and on the left of the rightbar page.
here's the code for leftbar:
<html>
<body bgcolor="#FFFFFF" text="#000000" rightmargin=0 bottommargin=0 topmargin=0 leftmargin=0 MARGINWIDTH="0" MARGINHEIGHT="0">
<table width="2" border="0" cellspacing="0" cellpadding="0" height="100%" align="left">
<tr>
<td width="2" background=ccp/ccpimg/westbar.gif><img src="ccp/ccpimg/dot.gif" width="2" height="2"></td>
</tr>
</table>
</body>
</html>
and here's the code for right.htm or rightbar
<html>
<body bgcolor="#FFFFFF" text="#000000" rightmargin=0 bottommargin=0 topmargin=0 leftmargin=1 MARGINWIDTH="0" MARGINHEIGHT="0">
<table width="2" border="0" cellspacing="0" cellpadding="0" height="100%" align="right">
<tr>
<td width="2" background=ccp/ccpimg/westbar.gif><img src="ccp/ccpimg/dot.gif" width="2" height="2"></td>
</tr>
</table>
</body>
</html>
i think it has to do with the pages themself and something to do with the margins in the body tags that are not being recognized by netscape. but i dunno.
thanks for your help.
ps: i can't post a url because this is on my company intranet.
i'm having a problem with frames in netscape. I've already searched in the forum for past posts and i can't find anything that's similar to this. unless i'm just blind.
anyways, I'm making a framed page in IE and it looks great but in netscape it doesn't look right because for some reason it doesn't recognize or it doesn't push the page to the very edge of the screen like it does in IE.
I'm using the following Body tags in all my pages:
<body bgcolor="#FFFFFF" text="#000000" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 MARGINWIDTH="0" MARGINHEIGHT="0">
and then on top of that i'm using the following frameset code:
<FRAMESET ROWS="*,420,*" MARGINWIDTH="0" MARGINHEIGHT="0" border="0" FRAMEborder="0">
<FRAME NAME="top" SRC="blank.htm" border="0" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE>
<FRAMESET MARGINWIDTH="0" MARGINHEIGHT="0" border="0" COLS="*,750,*">
<FRAME NAME="leftside" SRC="blank.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" border="0" NORESIZE>
<FRAMESET rows="65,*,23" border="0" FRAMEborder="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<FRAME NAME="top" SRC="top.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE border="0">
<FRAMESET MARGINWIDTH="0" MARGINHEIGHT="0" border="0" COLS="2,*,2" framespacing="0">
<FRAME NAME="leftbar" SRC="left.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" border="0" NORESIZE>
<FRAMESET rows="20,*" border="0" FRAMEborder="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<FRAME NAME="nav" SRC="nav.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE border="0">
<FRAME NAME="middle" SRC="middle.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE border="0">
</FRAMESET>
<FRAME NAME="rightbar" SRC="right.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" border="0" NORESIZE>
</FRAMESET>
<FRAME NAME="bottom" SRC="bottom.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE border="0">
</FRAMESET>
<FRAME NAME="rightside" SRC="blank.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEborder="0" NORESIZE border="0">
</FRAMESET>
<FRAME NAME="bottom" SRC="blank.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" border="0" FRAMEborder="0" NORESIZE>
</FRAMESET>
the problem lies in that where the frameset leftbar and rightbar are only supposed to be 2 pixels wide, it works fine in IE but in netscape it adds white space borders on the sides.
i suspect that this doesn't have anything to do with the frame set however, because when i view the page with all borders=1 i notice that the frames leftbar and rightbar are not 2 pixels. they have some white space. But the white space is on the right of the leftbar page and on the left of the rightbar page.
here's the code for leftbar:
<html>
<body bgcolor="#FFFFFF" text="#000000" rightmargin=0 bottommargin=0 topmargin=0 leftmargin=0 MARGINWIDTH="0" MARGINHEIGHT="0">
<table width="2" border="0" cellspacing="0" cellpadding="0" height="100%" align="left">
<tr>
<td width="2" background=ccp/ccpimg/westbar.gif><img src="ccp/ccpimg/dot.gif" width="2" height="2"></td>
</tr>
</table>
</body>
</html>
and here's the code for right.htm or rightbar
<html>
<body bgcolor="#FFFFFF" text="#000000" rightmargin=0 bottommargin=0 topmargin=0 leftmargin=1 MARGINWIDTH="0" MARGINHEIGHT="0">
<table width="2" border="0" cellspacing="0" cellpadding="0" height="100%" align="right">
<tr>
<td width="2" background=ccp/ccpimg/westbar.gif><img src="ccp/ccpimg/dot.gif" width="2" height="2"></td>
</tr>
</table>
</body>
</html>
i think it has to do with the pages themself and something to do with the margins in the body tags that are not being recognized by netscape. but i dunno.
thanks for your help.
ps: i can't post a url because this is on my company intranet.