Check out the jsFiddle here
The HTML code snippet:
<div class="empty ui-widget-content">
<div class="settings-menu">
</div>
</div>
The CSS code snippet:
.empty {
height: 50px;
display: block;
float: left;
position: relative;
margin: 6px 0;
width: 100%;
background: grey;
}
The JS code snippet:
$('.empty').resizable();
Why does such a simple thing occur?