# Draggable\_element Messing up CSS for IE7

**URL:** <https://www.ruby-forum.com/t/draggable-element-messing-up-css-for-ie7/133820>\
**Category:** Rails\
**Created:** [April 3, 2008, 11:44pm UTC](https://www.ruby-forum.com/t/draggable-element-messing-up-css-for-ie7/133820 "2008-04-03T23:44:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdevore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9adbd/32.png) [@gdevore](https://www.ruby-forum.com/u/gdevore)\
**Post date:** [April 3, 2008, 11:44pm UTC](https://www.ruby-forum.com/t/draggable-element-messing-up-css-for-ie7/133820/1 "2008-04-03T23:44:12Z")

</div>

I am having trouble with draggable\_element and come IE7 css. I have a  
list where I want the items in the list to be draggable. I need the  
list to have a fixed height so I would like a scrollbar. I use  
overflow:auto and everything works great in Firefox and Safari. But  
IE doesn’t respect the overflow:hidden. Well, it kind of does. It  
creates the scroll bars but lets everything spill out past it.

After some testing I tracked it down to calling draggable\_element on  
the list items. If I remove that then everything displays  
correctly.

You can see an example here:

[http://gregdevore.screenstepslive.com/lessons/850](http://gregdevore.screenstepslive.com/lessons/850)

Any help would be greatly appreciated.
