R
Roland Dick
Hello,
I have a problem here with an ASP.NET website.
The pages are supposed to use a single master page which just contains
some images and a menu control on the top, below that is the content
placeholder.
What I would like to achieve is to always see the master page elements
(the images and the menu control). In other words, the content
placeholder should display a scrollbar, not the whole page.
I tried using a panel around the placeholder, and this works as long as
I set the height to an absolute value, e.g. 700px. However, changing
this value to 100% causes the scrollbar to be displayed for the whole
page again and my menu scrolls off the page again.
Does anybody know how to set the height of the panel to 100% minus the
height of my always-visible controls from the master page?
Thanks for your hints,
Roland
I have a problem here with an ASP.NET website.
The pages are supposed to use a single master page which just contains
some images and a menu control on the top, below that is the content
placeholder.
What I would like to achieve is to always see the master page elements
(the images and the menu control). In other words, the content
placeholder should display a scrollbar, not the whole page.
I tried using a panel around the placeholder, and this works as long as
I set the height to an absolute value, e.g. 700px. However, changing
this value to 100% causes the scrollbar to be displayed for the whole
page again and my menu scrolls off the page again.
Does anybody know how to set the height of the panel to 100% minus the
height of my always-visible controls from the master page?
Thanks for your hints,
Roland