View Single Post
  #1 (permalink)  
Old 07-06-09, 05:14 PM
mariowowo mariowowo is offline
Newbie Coder
 
Join Date: Jun 2008
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
contentplaceholder within div problem

Hi, got this problem.
got masterpage. Its contentPlaceHolder is with a div with a class that

includes
Code:
#master_contentplaceholder
{
    padding-top:1px;
    background-color:White;
    width: 100%;
    overflow:auto;
}
Now, when default page is loaded, div tag fixes the whole screen as I want. This
page is in root.
But if I load a page in another place (ei: root/client/main.aspx) then div tag
wraps the exact size of the loaded page, this means, if page is larger than screen
heigth, the div gets the size of the page and not the size of the screen as I
want. I don't want to use explorer scroll, I want to use div scroll.
Hope you understand me since English is not my native languaje.

Can upload screenshots if you want.

Thanks in advise.-

Last edited by digioz; 07-07-09 at 11:07 AM.
Reply With Quote