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

Dreamweaver v4 and Xara menu maker

Status
Not open for further replies.

StressedTechie

Technical User
Jul 13, 2001
367
GB
Hi Guys
I know I am using an old version of Dreamweaver but I am in the middle of trying to throw a menu up on a page. I have created my menu in Xara Menu maker and I have then gone into Dreamweaver and created by layour tables. I have an image at the top then the menu and then web content.
When I insert the menu into the box below my image I am getting a blank line above and below the menu bar. When I then preview the page in IE it looks wierd. I am getting a tiny line between the top of the menu and the header image and a massive line between the bottom of the menu and the web content. No matter what I do I cannot adjust this spacing. Can anyone guide me in the direction. The javascript it inserts is as follows

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="796" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" height="90" colspan="4"><img src="images/header2.gif" width="798" height="90"></td>
</tr>
<tr>
<td width="10" valign="top" bgcolor="#E10000" rowspan="4">&nbsp;</td>
<td height="23" valign="top" colspan="3">
<script menumaker>document.write('<scr'+'ipt src="xaramenu.js">'+'</scr'+'ipt>');document.write('<scr'+'ipt src="Menu/gradient.js">'+'</scr'+'ipt>');/*img src="Menu/Gradient.gif" moduleid="Default (Project)\Gradient_off.xws"*/</script>
</td>
</tr>
<tr>
<td width="431" valign="top" rowspan="2">&nbsp;</td>
<td height="77" width="51"></td>
<td valign="top" width="306">&nbsp;</td>
</tr>
<tr>
<td height="92"></td>
<td></td>
</tr>
<tr>
<td height="336"></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="21"></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>

Thanks guys I appreciate anyones time on this.

Cheers
super stressed techie!!
 
Without knowing much about Xara - you have a height of 23 pixels in that table cell - if this is too large for your menu graphics then perhaps you need to adjust the height. Try putting in a background colour in this cell and then see if that colour shows through in the browser. If it doesn't, then you may have put in some extra border space in the Xara menu.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top