I have a resizable (using jQuery UI) div with 2 elements: ul on top and input on the bottom. The input element has fixed height. I would like both elements to resize horizontally along with the resizable container (that's easy - width: 100%) and vertically with the input height fixed. What that means is the input element should always have the same height and stick to the bottom of the container and only the ul element above it to stretch/shrink in height. Is this somehow possible with CSS?
EDIT:
Sample code is here: http://jsfiddle.net/dxtVy/ but it doesn't work there for some reason. It should give an idea of how it works though.