logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Nico Toutenhoofd
    • Posted on Mon 19 Sep 2005

    Hello Jake,

    Thanks for looking at that and the suggestion to use: (document.documentElement.clientHeight-95)

    That indeed does make the top stay fixed in IE, and the bottom scrolls, but it's pretty ugly. The scroll bar for the bottom div is inset inside where the normal scroll bar would be. http://nicophoto.com/scroll3.html

    It looks better if I remove the docType and go back to using document.Element.clientHeight, but it would be nice to have a docType on the page.

    Anyway, you've pointed me in the right direction. If anyone else can manage to make my example with the docType look better, please show me how.

    Thanks!!!

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: