Click here to Skip to main content
15,918,243 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
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. also tried

HTML
<div style="overflow:auto; height:100px; width:auto " >
</div>

along with this i am running asp timer on my webpage with its tick event
ASP.NET
<asp:Timer ID="tm" runat="server" Enabled="true" Interval="1000"    OnDisposed="Timer_Disposed" OnTick="Timer_Tick" ></asp:Timer>

with a tick interval of 1 sec if this is beacuase of timer tick event then pls

pls help me out with this .
Posted
Updated 20-Jan-14 4:20am
v2

1 solution

 
Share this answer
 

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