I have the same problem as AndyHin does (CSS HTML - DIV height fill remaining space) but can't see where to insert the javascript when Hussein says to. I must admit that I am quite new to writing in js.
I have tried including it between the head tags as below and I have also tried inserting it into the jquery with no avail.
<head>
<script>
Hussein's answer
</script>
</head>