Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Nov 2002
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    unwanted border around my frame

    I have built a menu in fireworks and I would like it to take up 100% of the left frame of my html document. I am editing this in dreamweaver. I had similar problems when using a bgcolor attribute instead of css. It was rendering nicely but I edited the menu in fireworks and when it was re-inserted in dreamweaver this problem occurred. I can not remove the border from the top and left sides of the menu. Any suggestions?

    Thanks, Garrett
    garrett63@msn.com

    The code is long but here it is:

    <html>
    <head>
    <title>menu.gif</title>
    <meta http-equiv="Content-Type" content="text/html;">
    <!-- Fireworks MX Dreamweaver MX target. Created Mon Feb 23 22:07:26 GMT-0700 (Mountain Standard Time) 2004-->
    <script language="JavaScript" type="text/javascript">
    <!--
    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];}
    }
    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];}}
    }

    //-->
    </script>
    <link rel="stylesheet" href="menustyles.css" type="text/css">
    </head>
    <body onLoad="MM_preloadImages('home.gif','images/rollovers/services.gif','mass_menu.gif','specials.gif','spatips.gif','giftcert.gif','aboutus.gif','images/rollovers/tranquility.gif','contact.gif')">
    <div align="left"></div>
    <div align="left">
    <table border="0" cellpadding="0" cellspacing="0">
    <!-- fwtable fwsrc="menu2.png" fwbase="menu.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="1" -->
    <tr>
    <td colspan="3"><img name="menu_r1_c1" src="menu_r1_c1.gif" width="170" height="102" border="0" alt=""></td>
    </tr>
    <tr>
    <td rowspan="18"><img name="menu_r2_c1" src="menu_r2_c1.gif" width="24" height="358" border="0" alt=""></td>
    <td><table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><img name="menu_r2_c2" src="menu_r2_c2.gif" width="1" height="12" border="0" alt=""></td>
    <td><a href="home.htm" target="mainFrame" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('menu_r2_c3','','home.gif',1)"><img name="menu_r2_c3" src="menu_r2_c3.gif" width="38" height="12" border="0" alt=""></a></td>
    <td><img name="menu_r2_c4" src="menu_r2_c4.gif" width="62" height="12" border="0" alt=""></td>
    </tr>
    </table></td>
    <td rowspan="18"><img name="menu_r2_c11" src="menu_r2_c11.gif" width="45" height="358" border="0" alt=""></td>
    </tr>
    <tr>
    <td><img name="menu_r3_c2" src="menu_r3_c2.gif" width="101" height="20" border="0" alt=""></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><img name="menu_r4_c2" src="menu_r4_c2.gif" width="1" height="14" border="0" alt=""></td>
    <td><a href="services.htm" target="mainFrame" onMouseOver="MM_swapImage('menu_r4_c3','','images/rollovers/services.gif',1);" onMouseOut="MM_swapImgRestore()"><img name="menu_r4_c3" src="menu_r4_c3.gif" width="52" height="14" border="0" alt=""></a></td>
    <td><img name="menu_r4_c6" src="menu_r4_c6.gif" width="48" height="14" border="0" alt=""></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><img name="menu_r5_c2" src="menu_r5_c2.gif" width="101" height="19" border="0" alt=""></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><a href="mass_menu.htm" target="mainFrame" onMouseOver="MM_swapImage('menu_r6_c2','','mass_menu.gif',1);" onMouseOut="MM_swapImgRestore()"><img name="menu_r6_c2" src="menu_r6_c2.gif" width="55" height="28" border="0" alt=""></a></td>
    <td><img name="menu_r6_c7" src="menu_r6_c7.gif" width="46" height="28" border="0" alt=""></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><img name="menu_r7_c2" src="menu_r7_c2.gif" width="101" height="20" border="0" alt=""></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><img name="menu_r8_c2" src="menu_r8_c2.gif" width="1" height="17" border="0" alt=""></td>
    <td><a href="specials.htm" target="mainFrame" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('menu_r8_c3','','specials.gif',1)"><img name="menu_r8_c3" src="menu_r8_c3.gif" width="52" height="17" border="0" alt=""></a></td>
    <td><img name="menu_r8_c6" src="menu_r8_c6.gif" width="48" height="17" border="0" alt=""></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><img name="menu_r9_c2" src="menu_r9_c2.gif" width="101" height="14" border="0" alt=""></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><img name="menu_r10_c2" src="menu_r10_c2.gif" width="1" height="34" border="0" alt=""></td>
    <td><a href="spatips.htm" target="mainFrame" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('menu_r10_c3','','spatips.gif',1)"><img name="menu_r10_c3" src="menu_r10_c3.gif" width="71" height="34" border="0" alt=""></a></td>
    <td><img name="menu_r10_c9" src="menu_r10_c9.gif" width="29" height="34" border="0" alt=""></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><img name="menu_r11_c2" src="menu_r11_c2.gif" width="101" height="17" border="0" alt=""></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><img name="menu_r12_c2" src="menu_r12_c2.gif" width="1" height="17" border="0" alt=""></td>
    <td><a href="giftcerts.htm" target="mainFrame" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('menu_r12_c3','','giftcert.gif',1)"><img name="menu_r12_c3" src="menu_r12_c3.gif" width="100" height="17" border="0" alt=""></a></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><img name="menu_r13_c2" src="menu_r13_c2.gif" width="101" height="19" border="0" alt=""></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><img name="menu_r14_c2" src="menu_r14_c2.gif" width="1" height="15" border="0" alt=""></td>
    <td><a href="aboutus.htm" target="mainFrame" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('menu_r14_c3','','aboutus.gif',1)"><img name="menu_r14_c3" src="menu_r14_c3.gif" width="61" height="15" border="0" alt=""></a></td>
    <td><img name="menu_r14_c8" src="menu_r14_c8.gif" width="39" height="15" border="0" alt=""></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><img name="menu_r15_c2" src="menu_r15_c2.gif" width="101" height="15" border="0" alt=""></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><img name="menu_r16_c2" src="menu_r16_c2.gif" width="1" height="17" border="0" alt=""></td>
    <td><a href="tranquility.htm" target="mainFrame" onMouseOver="MM_swapImage('menu_r16_c3','','images/rollovers/tranquility.gif',1);" onMouseOut="MM_swapImgRestore()"><img name="menu_r16_c3" src="menu_r16_c3.gif" width="72" height="17" border="0" alt=""></a></td>
    <td><img name="menu_r16_c10" src="menu_r16_c10.gif" width="28" height="17" border="0" alt=""></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><img name="menu_r17_c2" src="menu_r17_c2.gif" width="101" height="17" border="0" alt=""></td>
    </tr>
    <tr>
    <td><table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><img name="menu_r18_c2" src="menu_r18_c2.gif" width="1" height="13" border="0" alt=""></td>
    <td><a href="contact.htm" target="mainFrame" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('menu_r18_c3','','contact.gif',1)"><img name="menu_r18_c3" src="menu_r18_c3.gif" width="50" height="13" border="0" alt=""></a></td>
    <td><img name="menu_r18_c5" src="menu_r18_c5.gif" width="50" height="13" border="0" alt=""></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><img name="menu_r19_c2" src="menu_r19_c2.gif" width="101" height="50" border="0" alt=""></td>
    </tr>
    </table>
    </div>
    </body>
    </html>

  • #2
    New Coder
    Join Date
    Nov 2002
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Damn, almost as soon as I posted this I realized I could just position that menu with css. Problem solved. Sorry if anyone read this.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •