Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by fer135 on Jun 05, 2008 09:36
open dhtmlx forum
dhtml combo, scrolldiv problem in IE & FF

HI. i'm having the same issue from this post: http://www.dhtmlx.com/docs/products/kb/index.shtml?cat=kb&page=2&q=3439&ssr=yes&s=dhxCalendarA
with a list from dhtmlxcombo.

When the pages loads, the list stays in one place but when i scroll down, the list remains in the same position of the page.

How can i solve that problem?
Answer posted by Support on Jun 06, 2008 04:57
The list of options is relative to document.body, so if you are scrolling whole document - it will be scrolled as well.
If you are using some additional scrollable area - the mentioned problem occurs.

The situation when all combobox not scrolled may appear in IE6 ( it caused by incorrect procession of position:relative in IE6) - it can be resolved by adding style position:relative to surrounding container ( which has  scroll )