Click here to Skip to main content
15,889,034 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a div containing background image in asp content page connected with master page
my problem is when we moves scrollbar of browser downward using mouse or by using down arrow key of keyboard to see content of footer or something like that the asp page is moved upward and vice versa when scroll bar of browser is moved upward the asp page is moved down.

i have used style="position:absolute" for div and also tried using style="position:fixed" but that doesn't work with master page content and have used
jqueries from stack overflow but still it didn't work.

pls help me out with this .
Posted

1 solution

Try like this

HTML
<div style="overflow:auto; height:100px; width:auto " >
                    your controls
                </div>
 
Share this answer
 
Comments
ank170989 18-Jan-14 4:18am    
still its not working
Karthik_Mahalingam 18-Jan-14 4:20am    
what problem u r facing ?
do u have team viewer ?

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