> Better yet, change line second line of stickFooter function to:
>
>     var height = $(document).height() - 341;
>
> And remove the third line entirely.
>
> Carl

Thanks for responding Carl.  This is what I ended up using as you
prescribed.

<script type="text/javascript">
var stickyFooter = function() {
        var height = $(document).height() - 341;
    $('#footer').css('margin-top', height);
}
$(document).ready(
    stickyFooter()
);
$(window).resize(
    stickyFooter()
);
</script>

But Firebug tells me "document.body has no properties" with the error
seemingly in the jQuery library.

Thanks!

Reply via email to