tilføj denne til din style.css:
.imgcont{width:200px;}
og her: (krydser fingre...)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<link rel="STYLESHEET" type="text/css" href="style.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
<!--
stitilpics="./";
inactivepic="0.jpg";
ryktilhojre=200;
rykned=20;
function piclnkchg(tmppic,tmpcur){
curtmp=document.getElementById("picchging");
if(tmppic==0){
curtmp.src=stitilpics+inactivepic;
curtmp.style.display="none";
}else{
curtmp.style.top=tmpcur.offsetTop+rykned+"px";
curtmp.style.left=tmpcur.offsetLeft+ryktilhojre+"px";
curtmp.src=stitilpics+tmppic;
curtmp.style.display="block";
}
}
//-->
</script></head>
<body><center>
<div class="imgcont" onmouseover="piclnkchg('p1.jpg',this);" onmouseout="piclnkchg(0);"><a href="test.html" >abcasdsdsdaasds</a></div>
<br>
<div class="imgcont" onmouseover="piclnkchg('p1.jpg',this);" onmouseout="piclnkchg(0);"><a href="test.html">abc</a></div>
</center>
<img src="./0.jpg" id="picchging" style="display:none;position:absolute;left:0;top:20;height:100px;">
</center>
</body>
</html>