How to increase the height of an element with absolute positioned elements inside
===

I have a ul which is positioned relatively with absolute positioned lis inside it .How do i increase the height of the ul according to the content. 

Adding class clearfix to the ul does not work