By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,806 Members | 1,327 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,806 IT Pros & Developers. It's quick & easy.

Reducing height of the displayed page in Mozilla

P: 22
Hello Friends,

I have a textarea at the bottom of my JSP page. User can toggle its height to 100px and 300px by clicking a button.

When the toggle happens from 300px to 100px, in IE the page height also gets adjusted. But in Mozilla once extended, the page remains extended. The sroll bar remains of the same size and a white area gets displayed in the space of 200px [contracted value]

Any idea if I can make some change into the rendered page size height?

Feb 19 '07 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 15k+
P: 16,027
See if this link helps.
Feb 19 '07 #2

P: 22
Thank you for the reply.

I tried the following-
document.body.clientHeight = document.body.clientHeight - 200;

but it gives me error saying setting a property that only has a getter.

I need to alter the increased page size.

Feb 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.