prøv det her...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html
xmlns="
http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="123_files/std.css" media="screen"><title>BingeTravels - Fordi
alkohol gør rejsen sjovere!</title>
<style>
.abslag {
position:absolute;
z-index:3;
}
</style></head><body>
<div style="width:100%; height:100%; border-width:2px; border-style:solid; border-color:#FF7800;
background-color:#FFFFFF;"><p style=" margin-bottom:0px; margin-top:0px;
background-color:#FF7800; color:#FFFFFF; width:100%;">
© Bingetravels.dk - fordi alkohol gør rejsen sjovere
</p><table style="width:100%;" id="tabellen"><tbody><tr>
<td style="overflow: hidden; width: 100px; background-color: rgb(255, 237, 221); font-size:
10px; vertical-align: top;">kommentarer:<br>
<span style="visibility: visible; font-size: 12px;" id="comments">
<strong>Mads T:</strong>Det er da helt vildt!<br><strong>Mads T:</strong>kæft hvor er vi bare
grimme!</span></td>
<td rowspan="5" id="imgcont"><img src="123_files/show_pic.jpg" id="billedet" alt="billede"
style="position:relative;top:0px;left:0px;"><div id="pilnul"> </div><div id="pil1"
class="abslag" style="width: 200px; text-align: left; left: 0px;top:0px;"><img
src="123_files/red_arrow.gif" alt="" border="0" height="16" width="16"><a
href="
http://www.bingetravels.dk/profile.php?id=51">Mads T</a></div>
</td>
</tr><tr>
<td style="overflow: hidden; width: 100px; height: 35px; background-color: rgb(255, 237,
221); font-size: 10px; vertical-align: top;">
vurdering: 3/5<br>
visninger: 64<br>
</td>
</tr>
<tr>
<td style="overflow: hidden; width: 100px; background-color: rgb(255, 237, 221); height:
40px; font-size: 10px; text-align: center;">Du skal være logget ind for at placere dig.</td>
</tr>
<tr>
<td style="overflow: hidden; width: 100px; background-color: rgb(255, 237, 221); font-size:
10px; height: 40px; text-align: center; vertical-align: top;">Du skal være logget ind for at
vurdere</td>
</tr>
<tr>
<td style="overflow: hidden; width: 100px; height: 150px; background-color: rgb(255, 237,
221); font-size: 10px; vertical-align: top;">Du skal være logget ind for at kunne skrive en
kommentar til billedet.</td>
</tr></tbody></table>
<script type="text/javascript">
function getMousePosition(event)
{
var mouseX = (typeof event.pageX == "number") ? event.pageX : event.clientX;
window.location='/show.php?picture=cam_47/DSCF0441.JPG&xpos='+(mouseX-posimg());
}
function position() {
alert(document.getElementById("tabellen").offsetWidth);
document.getElementById("imgcont").width=document.getElementById("tabellen").offsetWidth-100;
imghold=document.getElementById("imgcont");
img=document.getElementById("billedet");
imgofl=(imghold.offsetWidth-img.offsetWidth)/2;
imgoft=(imghold.offsetHeight-img.offsetHeight)/2;
alert(imgofl);
alert(imgoft);
img.style.left=imgofl+"px";
img.style.top=imgoft+"px";
document.getElementById("pil1").style.left =545+imgofl+"px";
document.getElementById("pil1").style.top =499+imgoft+"px";
}
window.onload=function(){position();}
</script>
</div>
</body></html>