Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Visual studio 2010 . i have a div tag having Id ="ControlDiv" that contains multiple div tag and tables.

My problem is that when i dynamically hide and show these sub div tags at that time it consider spaces for that div tags that are invisible. How to remove that space from "controldiv" tag.

i used all methods like set height and width overflow auto etc.

Please give me the best solution.
Thanks in advance...
Posted
Updated 19-Jun-11 23:02pm
v2

Try to remove the height and width from the parendiv that is controldiv in your case.
 
Share this answer
 
Did u try SubDiv.Visible=false; ?
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900