Click here to Skip to main content
14,299,406 members
Rate this:
Please Sign up or sign in to vote.
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
Rate this:
Please Sign up or sign in to vote.

Solution 1

Try to remove the height and width from the parendiv that is controldiv in your case.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

Did u try SubDiv.Visible=false; ?
   
v2

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100