kernelgpf Posted June 12, 2007 Share Posted June 12, 2007 Okay- I've got two HTML scripts, that are nearly identical, except what goes into the main page part. But for some reason, there is a gap inbetween the navigational bar on one and NOT the other. Here's a screenshot- The "bad" screenie (with circled red on it) is the script "news.php" and the "good" screenie is "testpage.php". This is my code for news.php- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Pony Potions</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="/style.css" rel="stylesheet" type="text/css"> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <link href="/style2.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#353535" text="#000000" link="#333333" vlink="#333333" alink="#333333" onLoad="MM_preloadImages('/images/pprollgate_21.jpg','/images/pprollgate_22.jpg','/images/pprollgate_24.jpg','/images/pprollred_03.jpg','/images/pprollorange_04.jpg','/images/pprollyellow_05.jpg','/images/pprolllimegreen_06.jpg','/images/pprollbrightgreen_07.jpg','/images/pprollaqua_08.jpg','/images/pprollblue_09.jpg','/images/pprolldarkblue_10.jpg','/images/pprollpurple_11.jpg','/images/pprollpink_12.jpg','/images/pprollfuschia_13.jpg','/images/pprollgate_23.jpg')"> <div align="center"> <table width="810" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td height="58" colspan="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="810" height="58"><img src="/images/ppgate_01.jpg" width="810" height="58"></td> </tr> </table></td> </tr> <tr> <td height="275" colspan="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="810" height="275"><img src="/images/ppgate_02.jpg" width="810" height="275"></td> </tr> </table></td> </tr> <tr> <td width="82" height="61" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="82" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image24','','/images/pprollred_03.jpg',1)"><img src="/images/ppgate_03.jpg" name="Image24" width="82" height="61" border="0"></a></td> </tr> </table></td> <td width="81" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="81" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image25','','/images/pprollorange_04.jpg',1)"><img src="/images/ppgate_04.jpg" name="Image25" width="81" height="61" border="0"></a></td> </tr> </table></td> <td colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="61" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image26','','/images/pprollyellow_05.jpg',1)"><img src="/images/ppgate_05.jpg" name="Image26" width="61" height="61" border="0"></a></td> </tr> </table></td> <td width="50" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="50" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image27','','/images/pprolllimegreen_06.jpg',1)"><img src="/images/ppgate_06.jpg" name="Image27" width="50" height="61" border="0"></a></td> </tr> </table></td> <td width="73" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="73" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image28','','/images/pprollbrightgreen_07.jpg',1)"><img src="/images/ppgate_07.jpg" name="Image28" width="73" height="61" border="0"></a></td> </tr> </table></td> <td width="70" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="70" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image29','','/images/pprollaqua_08.jpg',1)"><img src="/images/ppgate_08.jpg" name="Image29" width="70" height="61" border="0"></a></td> </tr> </table></td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="68" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image30','','/images/pprollblue_09.jpg',1)"><img src="/images/ppgate_09.jpg" name="Image30" width="68" height="61" border="0"></a></td> </tr> </table></td> <td width="64" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="64" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image31','','/images/pprolldarkblue_10.jpg',1)"><img src="/images/ppgate_10.jpg" name="Image31" width="64" height="61" border="0"></a></td> </tr> </table></td> <td width="47" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="47" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image32','','/images/pprollpurple_11.jpg',1)"><img src="/images/ppgate_11.jpg" name="Image32" width="47" height="61" border="0"></a></td> </tr> </table></td> <td width="73" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="73" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image33','','/images/pprollpink_12.jpg',1)"><img src="/images/ppgate_12.jpg" name="Image33" width="73" height="61" border="0"></a></td> </tr> </table></td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="141" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image34','','/images/pprollfuschia_13.jpg',1)"><img src="/images/ppgate_13.jpg" name="Image34" width="141" height="61" border="0"></a></td> </tr> </table></td> </tr> <tr> <td height="18" colspan="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="810" height="18"><img src="/images/ppinside_14.jpg" width="810" height="18"></td> </tr> </table></td> </tr> <tr> <td height="930" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="200" height="930"><img src="/images/ppgate_15.jpg" width="200" height="930" border="0" usemap="#Map"></td> </tr> </table></td> <td width="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="15" height="930"><img src="/images/ppinside_16.jpg" width="15" height="930"></td> </tr> </table></td> <td colspan="10" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="570" height="930" bgcolor="f0f0f0"> <!-- BEGIN LAYOUT CONTENT HERE --> <center>You are logged in as alyssa (#1).<br><small>You have $3500.00.</small></center><p><a href="modarea.php">Mod Area</a><br> <table id=all width=600 class=tstyle6><tr> <td class=tstyle2><center> News </td></tr><tr><td><center> <table id=menue class=tstyle5 width="100%"><tr><td><center> </table id=menue></td></tr><tr><td><center><br> <table class=tstyle1 width=500><tr> <p><br></table></table id=all></center><hr noshade><form method=post action=news.php> Username:<select name='nauthor'> <option>Ele</option> <option>Alyssa</option> </select><br>Subject: <input type=text name=subject><br>Post: <textarea name=npost rows=10 cols=75></textarea><br><center><input type=submit value=Submit name='post_news'></center></form></td> </tr> </table></td> <td width="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="25" height="930"><img src="/images/ppinside_18.jpg" width="25" height="930"></td> </tr> </table></td> </tr> <tr> <td height="23" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="200" height="23"><img src="/images/ppgate_19.jpg" width="200" height="23"></td> </tr> </table></td> <td colspan="12" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="610" height="23"><img src="/images/ppinside_20.jpg" width="610" height="23"></td> </tr> </table></td> </tr> <tr> <td height="84" colspan="7" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="347" height="84"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image20','','/images/pprollgate_21.jpg',1)"><img src="/images/ppgate_21.jpg" name="Image20" width="347" height="84" border="0"></a></td> </tr> </table></td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="105" height="84"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image21','','/images/pprollgate_22.jpg',1)"><img src="/images/ppgate_22.jpg" name="Image21" width="105" height="84" border="0"></a></td> </tr> </table></td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="97" height="84"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image35','','/images/pprollgate_23.jpg',1)"><img src="/images/ppgate_23.jpg" name="Image35" width="97" height="84" border="0"></a></td> </tr> </table></td> <td colspan="4" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="261" height="84"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image23','','/images/pprollgate_24.jpg',1)"><img src="/images/ppgate_24.jpg" name="Image23" width="261" height="84" border="0"></a></td> </tr> </table></td> </tr> <tr> <td height="51" colspan="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="810" height="51" bgcolor="#333333"> </td> </tr> </table></td> </tr> <tr> <td height="1"></td> <td></td> <td width="37"></td> <td></td> <td width="9"></td> <td></td> <td></td> <td></td> <td width="35"></td> <td width="33"></td> <td></td> <td></td> <td></td> <td width="116"></td> <td></td> </tr> </table> </div> <map name="Map"> <area shape="rect" coords="17,47,133,86" href="http://www.ponypotions.com"> <area shape="rect" coords="14,91,133,117" href="http://www.ponypotions.com"> <area shape="rect" coords="17,121,128,146" href="http://www.ponypotions.com"> <area shape="rect" coords="19,152,128,179" href="http://www.ponypotions.com"> <area shape="rect" coords="18,186,131,215" href="http://www.ponypotions.com"> <area shape="rect" coords="19,220,146,253" href="http://www.ponypotions.com"> <area shape="rect" coords="22,339,122,373" href="http://www.ponypotions.com"> <area shape="rect" coords="23,378,121,404" href="http://www.ponypotions.com"> <area shape="rect" coords="25,410,117,436" href="http://www.ponypotions.com"> <area shape="rect" coords="23,444,114,467" href="http://www.ponypotions.com"> <area shape="rect" coords="25,477,120,509" href="http://www.ponypotions.com"> <area shape="rect" coords="27,516,121,542" href="http://www.ponypotions.com"> <area shape="rect" coords="25,548,125,572" href="http://www.ponypotions.com"> <area shape="rect" coords="24,581,143,618" href="http://www.ponypotions.com"> <area shape="rect" coords="20,703,161,734" href="http://www.ponypotions.com"> <area shape="rect" coords="20,742,182,771" href="http://www.ponypotions.com"> <area shape="rect" coords="20,779,140,808" href="http://www.ponypotions.com"> <area shape="rect" coords="19,811,180,852" href="http://www.ponypotions.com"> </map> </body> </html> And this is my code for "testpage.php": <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Pony Potions</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="/style.css" rel="stylesheet" type="text/css"> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <link href="/style2.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#353535" text="#000000" link="#333333" vlink="#333333" alink="#333333" onLoad="MM_preloadImages('/images/pprollgate_21.jpg','/images/pprollgate_22.jpg','/images/pprollgate_24.jpg','/images/pprollred_03.jpg','/images/pprollorange_04.jpg','/images/pprollyellow_05.jpg','/images/pprolllimegreen_06.jpg','/images/pprollbrightgreen_07.jpg','/images/pprollaqua_08.jpg','/images/pprollblue_09.jpg','/images/pprolldarkblue_10.jpg','/images/pprollpurple_11.jpg','/images/pprollpink_12.jpg','/images/pprollfuschia_13.jpg','/images/pprollgate_23.jpg')"> <div align="center"> <table width="810" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td height="58" colspan="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="810" height="58"><img src="/images/ppgate_01.jpg" width="810" height="58"></td> </tr> </table></td> </tr> <tr> <td height="275" colspan="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="810" height="275"><img src="/images/ppgate_02.jpg" width="810" height="275"></td> </tr> </table></td> </tr> <tr> <td width="82" height="61" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="82" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image24','','/images/pprollred_03.jpg',1)"><img src="/images/ppgate_03.jpg" name="Image24" width="82" height="61" border="0"></a></td> </tr> </table></td> <td width="81" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="81" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image25','','/images/pprollorange_04.jpg',1)"><img src="/images/ppgate_04.jpg" name="Image25" width="81" height="61" border="0"></a></td> </tr> </table></td> <td colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="61" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image26','','/images/pprollyellow_05.jpg',1)"><img src="/images/ppgate_05.jpg" name="Image26" width="61" height="61" border="0"></a></td> </tr> </table></td> <td width="50" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="50" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image27','','/images/pprolllimegreen_06.jpg',1)"><img src="/images/ppgate_06.jpg" name="Image27" width="50" height="61" border="0"></a></td> </tr> </table></td> <td width="73" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="73" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image28','','/images/pprollbrightgreen_07.jpg',1)"><img src="/images/ppgate_07.jpg" name="Image28" width="73" height="61" border="0"></a></td> </tr> </table></td> <td width="70" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="70" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image29','','/images/pprollaqua_08.jpg',1)"><img src="/images/ppgate_08.jpg" name="Image29" width="70" height="61" border="0"></a></td> </tr> </table></td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="68" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image30','','/images/pprollblue_09.jpg',1)"><img src="/images/ppgate_09.jpg" name="Image30" width="68" height="61" border="0"></a></td> </tr> </table></td> <td width="64" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="64" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image31','','/images/pprolldarkblue_10.jpg',1)"><img src="/images/ppgate_10.jpg" name="Image31" width="64" height="61" border="0"></a></td> </tr> </table></td> <td width="47" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="47" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image32','','/images/pprollpurple_11.jpg',1)"><img src="/images/ppgate_11.jpg" name="Image32" width="47" height="61" border="0"></a></td> </tr> </table></td> <td width="73" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="73" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image33','','/images/pprollpink_12.jpg',1)"><img src="/images/ppgate_12.jpg" name="Image33" width="73" height="61" border="0"></a></td> </tr> </table></td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="141" height="61"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image34','','/images/pprollfuschia_13.jpg',1)"><img src="/images/ppgate_13.jpg" name="Image34" width="141" height="61" border="0"></a></td> </tr> </table></td> </tr> <tr> <td height="18" colspan="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="810" height="18"><img src="/images/ppinside_14.jpg" width="810" height="18"></td> </tr> </table></td> </tr> <tr> <td height="930" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="200" height="930"><img src="/images/ppgate_15.jpg" width="200" height="930" border="0" usemap="#Map"></td> </tr> </table></td> <td width="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="15" height="930"><img src="/images/ppinside_16.jpg" width="15" height="930"></td> </tr> </table></td> <td colspan="10" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="570" height="930" bgcolor="f0f0f0"> <!-- BEGIN LAYOUT CONTENT HERE --> testing</td> </tr> </table></td> <td width="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="25" height="930"><img src="/images/ppinside_18.jpg" width="25" height="930"></td> </tr> </table></td> </tr> <tr> <td height="23" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="200" height="23"><img src="/images/ppgate_19.jpg" width="200" height="23"></td> </tr> </table></td> <td colspan="12" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="610" height="23"><img src="/images/ppinside_20.jpg" width="610" height="23"></td> </tr> </table></td> </tr> <tr> <td height="84" colspan="7" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="347" height="84"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image20','','/images/pprollgate_21.jpg',1)"><img src="/images/ppgate_21.jpg" name="Image20" width="347" height="84" border="0"></a></td> </tr> </table></td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="105" height="84"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image21','','/images/pprollgate_22.jpg',1)"><img src="/images/ppgate_22.jpg" name="Image21" width="105" height="84" border="0"></a></td> </tr> </table></td> <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="97" height="84"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image35','','/images/pprollgate_23.jpg',1)"><img src="/images/ppgate_23.jpg" name="Image35" width="97" height="84" border="0"></a></td> </tr> </table></td> <td colspan="4" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="261" height="84"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image23','','/images/pprollgate_24.jpg',1)"><img src="/images/ppgate_24.jpg" name="Image23" width="261" height="84" border="0"></a></td> </tr> </table></td> </tr> <tr> <td height="51" colspan="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="810" height="51" bgcolor="#333333"> </td> </tr> </table></td> </tr> <tr> <td height="1"></td> <td></td> <td width="37"></td> <td></td> <td width="9"></td> <td></td> <td></td> <td></td> <td width="35"></td> <td width="33"></td> <td></td> <td></td> <td></td> <td width="116"></td> <td></td> </tr> </table> </div> <map name="Map"> <area shape="rect" coords="17,47,133,86" href="http://www.ponypotions.com"> <area shape="rect" coords="14,91,133,117" href="http://www.ponypotions.com"> <area shape="rect" coords="17,121,128,146" href="http://www.ponypotions.com"> <area shape="rect" coords="19,152,128,179" href="http://www.ponypotions.com"> <area shape="rect" coords="18,186,131,215" href="http://www.ponypotions.com"> <area shape="rect" coords="19,220,146,253" href="http://www.ponypotions.com"> <area shape="rect" coords="22,339,122,373" href="http://www.ponypotions.com"> <area shape="rect" coords="23,378,121,404" href="http://www.ponypotions.com"> <area shape="rect" coords="25,410,117,436" href="http://www.ponypotions.com"> <area shape="rect" coords="23,444,114,467" href="http://www.ponypotions.com"> <area shape="rect" coords="25,477,120,509" href="http://www.ponypotions.com"> <area shape="rect" coords="27,516,121,542" href="http://www.ponypotions.com"> <area shape="rect" coords="25,548,125,572" href="http://www.ponypotions.com"> <area shape="rect" coords="24,581,143,618" href="http://www.ponypotions.com"> <area shape="rect" coords="20,703,161,734" href="http://www.ponypotions.com"> <area shape="rect" coords="20,742,182,771" href="http://www.ponypotions.com"> <area shape="rect" coords="20,779,140,808" href="http://www.ponypotions.com"> <area shape="rect" coords="19,811,180,852" href="http://www.ponypotions.com"> </map> </body> </html> The only difference is the code that's the actual page, not the layout, and I can't figure out what in that is spacing the nagivation bar. Help? Pre-thanks to help. Link to comment https://forums.phpfreaks.com/topic/55340-same-scripts-but-gaps-in-navigation-bar/ Share on other sites More sharing options...
pocobueno1388 Posted June 13, 2007 Share Posted June 13, 2007 Your textarea in news.php is stretching the table, which is causing the top part to spread. change this: <br>Post: <textarea name=npost rows=10 cols=75></textarea> To: <br>Post: <textarea name=npost rows=10 cols=65></textarea> Link to comment https://forums.phpfreaks.com/topic/55340-same-scripts-but-gaps-in-navigation-bar/#findComment-273595 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.