Jeg bliver VANVITTIG - der er en afstand, der driller!
Jeg har følgende kode:Der skal bl.a. indsættes et billede i en tabel - mit problem er, at nedenunder billedet kommer en afstand, som om der var en <TR> for meget.
Jeg har heglet det igennem 117 gange men kan ikke finde ud af hvorfor. Er der nogen, der kan hjælpe?
<HTML>
<BODY>
<table width="772" border="0" cellspacing="0" cellpadding="0" align="center" class="mainTable">
<tr>
<td width="1" bgcolor="#000000"><spacer type="block" width="1" height="1"></td>
<td width="530" bgcolor="#000000"><spacer type="block" width="530" height="1"></td>
<td width="1" bgcolor="#000000"><spacer type="block" width="1" height="1"></td>
<td width="239" bgcolor="#000000"><spacer type="block" width="239" height="1"></td>
<td width="1" bgcolor="#000000"><spacer type="block" width="1" height="1"></td>
</tr>
<tr>
<td width="1" bgcolor="#000000"><spacer type="block" width="1" height="1"></td>
<td width="770" valign="top" colspan="3">
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><spacer type="block" width="20" height="1"></td>
<td width="730" valign="top">
<!-- Start INDHOLD -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<script language="JavaScript">
<!--
function MBAvs ()
{
var i, visStr, args, theObj;
args = MBAvs.arguments;
for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
visStr = args[i+2];
if (navigator.appName == 'Netscape' && document.layers != null) {
theObj = eval(args[i]);
if (theObj) theObj.visibility = visStr;
} else if (document.all != null) { //IE
if (visStr == 'show') visStr = 'visible'; //convert vals
if (visStr == 'hide') visStr = 'hidden';
theObj = eval(args[i+1]);
if (theObj) theObj.style.visibility = visStr;
} }
}
//-->
</script>
<MAP id="imagemap">
<AREA shape=rect coords="0,0,770,540" onmouseover=MBAvs('document.layers[\'lag1\']','document.all[\'lag1\']','show')
onmouseout=MBAvs('document.layers[\'lag1\']','document.all[\'lag1\']','hide')>
</MAP>
<div id="lag1" style="position:absolute; width:200px; height:200px; z-index:1; left: 280px; top: 180px">
<IMG src='layerpicture.gif'>
</div>
<IMG src="hus.gif" border="0" width="770" height="540"
usemap="#imagemap">
</td>
</tr>
</table>
<!-- End left column -->
</td>
<td width="20"><spacer type="block" width="20" height="1"></td>
</tr>
</table>
</td>
<td width="1" bgcolor="#000000"><spacer type="block" width="1" height="1"></td>
</tr>
<tr>
<td width="1" bgcolor="#000000"><spacer type="block" width="1" height="1"></td>
<td width="530" bgcolor="#000000"><spacer type="block" width="530" height="1"></td>
<td width="1" bgcolor="#000000"><spacer type="block" width="1" height="1"></td>
<td width="239" bgcolor="#000000"><spacer type="block" width="239" height="1"></td>
<td width="1" bgcolor="#000000"><spacer type="block" width="1" height="1"></td>
</tr>
<tr>
<td width="1" height="1" bgcolor="#000000"><spacer type="block" width="1" height="1"></td>
<td width="770" height="1" bgcolor="#000000" colspan="3"><spacer type="block" width="770" height="1"></td>
<td width="1" height="1" bgcolor="#000000"><spacer type="block" width="1" height="1"></td>
</tr>
</table>
</BODY>
</HTML>
