Hi,
it’s right, margin is not taken in account by the scroller: the scroller uses the offsetHeight property of the node which is the height of the visible area for an html element; this value is used to determine the scrollable area.
The margin makes sense only if you want to shift an element; but since the wrapper and the content are related by the scroller component, you must apply the margin to the wrapper element (and subtract it in the wrapper height calculation).
If you want that the scrollbar goes on the margin area, you have two alternatives:
– use the padding property
– insert an empty block element at the top of the content (with the appropriate height)
Good luck!
Sylvain