Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have much text that i have placed in a div class , there i have

C#
.scroll {
        position: fixed;


    }


i am trying to make that the scroll follows the text but the text is large bigger then the screen height,
because my page has much text i only can view the half text? what should i write in the css to make go to the end tag of the class
Posted
Updated 14-May-13 10:36am
v2
Comments
Sergey Alexandrovich Kryukov 14-May-13 16:39pm    
Not clear. Does not seem to make sense, but maybe because I cannot understand what are you trying to achieve. I think fixed position is evil in most cases.
—SA
Kurac1 14-May-13 16:42pm    
I have two sharePoint webpart , when i update something in the first webpart, i want to display it in the other webpart, and it displays but because the other webpart height is large , the user must scroll to the top of the site , to se what he has updated, now i am trying to make that the second webpart is following the page all the way, so the user dont need to go to the top of the page to view his updated data,

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900