I am having trouble getting an image in my design to stretch correctly
with the main content. Here is a link
http://creativeness.com/temptest/test9.html
Now the image on the left below the navigation (the one that is 65
pixels tall) I want to strech from the bottom of the one image to the
top of the bottom menu. Like on this page
http://creativeness.com/temptest/test10.html
On that page I am trying to use this javascript code
<script language="javascript" type="text/javascript">
var myVar = document.getElementById("siteContent").offsetHeigh t;
var nheight = myVar/10-200+'em';
alert('The height is '+myVar+' the new height is '+nheight );
</script>
<style>
#leftSide5height {
height:nheight;
}
</style>
But it seems that
height:nheight;
isnt the correct way to pass the variable that i determine because it
works if I put a number in there like this
#leftSide5height {
height:50em;
}
Any ideas how to get the correct number and pass the variable? Thanks
for your help.