Entry tags:
Impossible? CSS Geekery
I have a feeling that this is in fact impossible, but here goes.
If I have two divs - columns, in effect - sitting side by side within a containing div, is there any way to get an element within the div-with-shorter-content to float to the bottom? The left-hand div is a reliable amount of content; the right could be shorter or longer than it. Each one contains, among other things, a button that has to drop to the bottom of the containing div.
Dammit, it's even hard to explain.
If I have two divs - columns, in effect - sitting side by side within a containing div, is there any way to get an element within the div-with-shorter-content to float to the bottom? The left-hand div is a reliable amount of content; the right could be shorter or longer than it. Each one contains, among other things, a button that has to drop to the bottom of the containing div.
Dammit, it's even hard to explain.
no subject
no subject
give the container div the attribute
overflow: auto
, this will have the affect of pulling the background of the container div to the height of the longest column.if you want to have elements, such as buttons, aligned at the bottom, I would put them in their own div under the two columns with a width the same as the container div. Unless of course this would completely mess up your form.
Hope this helps
no subject