V
Vince
I've inherited a developer's first ASP.Net site, and he used all grid
layouts and absolute positioning. In most pages he has used multiple panels
with controls in them, all located in the same position, one on top of the
other. Then he hides and shows each one as needed. But this makes it a
nightmare to maintain.
I have switched it to flow layout and got rid of the absolute positioning
styles, but there remains a major problem. Even though each panel is set to
100% width and height, when rendered the panel's height is just big enough
to contain its controls at their smallest size, and there's a bunch of white
space below it (I put a border around the panel so I could see its height).
I can't figure out why. I view source and there's nothing after the panel
that would constrain its height.
Any ideas why this might be happening?
Thanks in advance,
Vince
layouts and absolute positioning. In most pages he has used multiple panels
with controls in them, all located in the same position, one on top of the
other. Then he hides and shows each one as needed. But this makes it a
nightmare to maintain.
I have switched it to flow layout and got rid of the absolute positioning
styles, but there remains a major problem. Even though each panel is set to
100% width and height, when rendered the panel's height is just big enough
to contain its controls at their smallest size, and there's a bunch of white
space below it (I put a border around the panel so I could see its height).
I can't figure out why. I view source and there's nothing after the panel
that would constrain its height.
Any ideas why this might be happening?
Thanks in advance,
Vince