Invisible element in JSP

I have made a table which is invisible but on click of a button it becomes visible. The functionality is working as expected. But the page is having a blank area even when the table is invisible. How can i make the page without the plain area when table is visible
[271 byte] By [BillJistsona] at [2007-11-27 9:38:29]
# 1
in the visible/invisible functionality you can try this code://if the condition is to disable the object.obj.style.display = 'none';//and if the object is to be displayed again thenobj.style.display = '';hope it will help you.
prashantkaushikjava@sun.coma at 2007-7-12 23:11:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thanks buddy. It worked. :)
BillJistsona at 2007-7-12 23:11:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
hi but the same thing is not working if i want to hide only certaing columns of the table
BillJistsona at 2007-7-12 23:11:57 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...