Este es mi script. Y tampoco funciona :P
Código:
<script>
function fix(origen,destino) {
alert(document.getElementById(origen).style.clientHeight);
alert(document.getElementById(origen).style.offsetHeight);
alert(document.getElementById(origen).style.innerHeight);
alert(document.getElementById(origen).style.height);
document.getElementById(destino).style.marginTop = (parseInt(document.getElementById(origen).style.offsetHeight))+'px';
}
</script>
Ninguno me da el valor que es :P