Making an absolutely positioned element fill the width of it's container

adermimague

New Member
I have a sidebar that I have positioned absolutely to the right for several reasons. But the problem is that if I have a shorter main content area, the sidebar extends past the content.Is there a way with CSS that we can get the container to wrap its height around the sidebar (if the sidebar is longer)?Please this jsFiddle: http://jsfiddle.net/52jjp/
 
Back
Top