I think seeing the effect live is better than posting code here. So you can find it here: jsfiddle
As you see, the Add button is on the border. If there was no float set for the button, everything would be perfect. As soon as I set float (be it left or right), the box doesn’t expand as much as it should.
Any idea how to solve this? Thank you.
Add
overflow: hiddento the parent element – http://jsfiddle.net/9GGTr/5/