I have a div with some content in it which includes a ul with a list of names the div tag has overflow set to hidden and height :auto so that it increases in height with the content .However i have a ul with a list of names and i want the list to go outside the box . something like the facebook add people autocomplete . The people list shows outside the box
heres my syntax
<div>
<!-- content goes here -->
<ul><!-- names go here --> </ul>
</div>
updated
<div><!-- div with overflow set to hidden-->
<ul class="selected"></ul><!-- ul containing selected elements-->
<ul class="users"></ul> <!-- list of users -->
</div>
div{overflow:hidden}
.selected{overflow:hidden}
.users{position:absolute}
I need the users div to go outside the box but because the parent div is set to overflow hidden it gets cut off. I cannot remove the overflow hidden because as the div with class selected gets more elements the parent div wont expand