> hi Ben C,
>
> I dont think that there is some standard way to do this
To do what? You've lost the context. You're replying to a post from five
weeks ago. Quoting some of the previous discussion would have been
thoughtful and potentially helpful.
> ...anywayz I
> have written customized code for this to work. Here is the code :
And you're saying this works for you? You're now satisfied?
> <html>
> <head>
[quoted text clipped - 10 lines]
> top:116;
> }
You'll be needing some units. Try top:116px;
> </style>
> <script type="text/javascript">
[quoted text clipped - 10 lines]
> }
> function kk()
kk? What an uninformative function name. What's it indicate?
> {
> if(document.body.clientHeight-foodiv.offsetHeight <kk1.offsetTop +
> kk1.offsetHeight)
> {
> document.all.foodiv.className="footer1";
I see "footer1" rather than "Footer1" as in your CSS.
> }
> else
> {
> document.all.foodiv.className="footer";
I see "footer" rather than "Footer" as in your CSS.
> }
> }
[quoted text clipped - 19 lines]
> </body>
> </html>
You have included more code than you needed to; a URL would have been
much better. Especially since I suspect the code you posted isn't really
the functioning code on your page.
Also, you've complicated things be including a JS form as part of the
content. It seems to me manual resizing would have been better.
I don't understand the logic of your supposed solution anyway. Where'd
you get the 116px? How does that relate to my font size or the width of
my browser?
Is this related to what Ben C suggested? It doesn't look like it.

Signature
John