PDA

View Full Version : Library Item icon taking up space


Phat.Tony
05-23-2007, 01:55 PM
Hey Everyone,
I'm new to the forum and an amatuer to DM. So bare with me. My question I'm sure will be easy for someone to answer. I am using a library item for my header and left side navbar. For some reason whenever I try to view it, it appears to have a space about the size of the library icon that I can not eliminate. I just want my tables flush against each other. Thanks for any help you may offer.

davidj
05-23-2007, 02:25 PM
post the code please

welcome mate

Phat.Tony
05-23-2007, 03:16 PM
I'm sure I'm giving you a bunch of extra junk, but here it goes...


// --></script>
</csactiondict></p>
<table width="834" height="1202" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="158" colspan="5"><!-- #BeginLibraryItem "/Library/TopNavBar.lbi" -->
<style type="text/css">
<!--
.style3 {
font-size: 14px;
color: #FFFFFF;
font-style: italic;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
-->
</style>
<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>
<body onLoad="MM_preloadImages('../images/images/Home_rollover_01-over.gif')"><table width="875" border="0" cellpadding="0" cellspacing="2" bgcolor="#000000">
<tr>
<td width="12">&nbsp;</td>
<td width="320" rowspan="3"><img src="images/ENS logo/ENS-Logo_black.gif" width="308" height="87"></td>
<td width="87">&nbsp;</td>
<td width="130">&nbsp;</td>
<td width="314" colspan="2" rowspan="3"><img src="Area Images/Baltimore-Maryland-Washington.gif" width="314" height="118"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td valign="bottom"><div align="right" class="style3">410-203-1822</div></td>
</tr>
</table>
<table width="877" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width="100"><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('999','','images/images/Home_rollover_01-over.gif',1)"><img src="images/images/Home_rollover_01.gif" name="ENS Home Page" width="100" height="15" border="0"></a></td>
<td width="101"><a href="About Us.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('999','','images/images/About_rollover_01-over.gif',1)"><img src="images/images/About_rollover_01.gif" name="About ENS Telephone Company" width="100" height="15" border="0"></a></td>
<td width="100"><a href="Products.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('999','','images/images/Products_rollover_01-over.gif',1)"><img src="images/images/Products_rollover_01.gif" name="Nortel and ESI, IVX Products" width="100" height="15" border="0"></a></td>
<td width="100"><a href="Solutions.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('999','','images/images/Solutions_rollover_01-over.gif',1)"><img src="images/images/Solutions_rollover_01.gif" name="Solutions" width="100" height="15" border="0"></a></td>
<td width="100"><a href="Contact-Page.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('999','','images/images/Contact_rollover_01-over.gif',1)"><img src="images/images/Contact_rollover_01.gif" name="Image7" width="100" height="15" border="0"></a></td>
<td width="100"><a href="Site Map.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('999','','images/images/Site-Map_rollover_01-over.gif',1)"><img src="images/images/Site-Map_rollover_01.gif" name="ENS Site Map" width="100" height="15" border="0"></a></td>
<td width="260" bgcolor="#4F4F4F"><a href="Long-Distance-Services.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('999','','images/images/Long_Distance_Services_01-o.gif',1)"><img src="images/images/Long_Distance_Services_01.gif" name="T1 Service and Broadband" width="185" height="15" border="0"></a></td>
</tr>
</table><!-- #EndLibraryItem --></td>
</tr>
<tr>
<td width="167" rowspan="3" align="left" valign="top"><!-- #BeginLibraryItem "/Library/LeftNavBar.lbi" -->
<style type="text/css">
<!--
.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.style2 {color: #000000}
-->
</style>
<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++)

davidj
05-23-2007, 03:21 PM
the code you posted wouldnt work

if you copied this from your page as it is then its a proper mess

is this how its written?

Phat.Tony
05-23-2007, 03:34 PM
i tried to cut and paste the whole page, but i was limited on the amount of space the forum lets me input. But, to answer your question... yes, that is my mess. : )

Phat.Tony
05-23-2007, 03:38 PM
this is a site I built years ago for my father's business. I am hesitant to change too much at once in case it drops off and out of site. the actual link is

davidj
05-23-2007, 03:38 PM
you have illegal tags all over the place

if this is a snippet of what you have written then your going to have to start again really mate

example is you have styles and javascript in the middle of a table!

is this the case in your actual page

Phat.Tony
05-23-2007, 03:53 PM
Honestly, I love doing the web stuff, but I have no training or friends who do this stuff. Everything I have learned is more self taught or from training videos. I am going to start watching your PHP videos, but all-in-all, I'm just doing it the only way I know how. Programming script looks like Chinese to me.

That was the first site I ever built with GoLive years ago. My newer stuff does not look that bad. At least i think doesn't.

davidj
05-23-2007, 08:24 PM
i sugest you learn HTML and JAVASCRIPT and leave Dreamweaver alone for a bit

your using valuble learning time to learn an application which is the reason behind your coding errors

in the state its in at the moment i cant troubleshoot your original question without rewriting the whole thing