Forum Moderators: open

Message Too Old, No Replies

positioning panels

positioning panels

         

shelley ford

5:38 pm on Sep 9, 2005 (gmt 0)



I'm adding user controls to my web page dynamically and am displaying them in panels. The layout of the page is being controlled by a style sheet. I have a panel that holds a printer user control which I want to hide for certain pages. However, when I hide the panel, the footer moves up. Is there anyway around this?

mattglet

7:41 pm on Sep 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think you'll need to set the CSS Position to Absolute for the panel.

[w3schools.com...]

emsaw

7:41 pm on Sep 9, 2005 (gmt 0)

10+ Year Member



Shelley_Ford,

Welcome to WebmasterWorld.

Are you hiding the panel by setting the Panel.Visible property server side, or are you presumably doing something like display:none in your CSS?
In either case you could wrap the area in question in a container of some sort.. table.. whatever.. that has a static height and width defined. Then, whether you hide or show the content, the space occupied on the page will be the same regardless. If that's still a bit fuzzy, post some code and I'm sure we'll be able to get you where you want to be.
:)
-Mark