This is a migrated thread and some comments may be shown as answers.

prevent controls from moving with scroll

2 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 03 Jan 2013, 04:04 PM
I have a handful of controls stacked vertically inside a scrollable div.  When I scroll the div contents, the controls float down, out of position, during the scroll.  How can I prevent that?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 07 Jan 2013, 12:35 PM
Hello Gary,

In case you are referring to the following problem in IE...

http://stackoverflow.com/questions/477834/div-with-scroll-and-content-with-absolute-positions

the fix is to set position:relative to the scrollable <div>

Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gary
Top achievements
Rank 1
answered on 21 Jan 2013, 07:34 PM
Thank you Dimo!

That is exactly what I needed.  You guys are great!
Tags
General Discussions
Asked by
Gary
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Gary
Top achievements
Rank 1
Share this question
or