Reputation: 3511
I have two things.
I'm looking for someone to solve this issue for me since I'm stuck at this moment.
This is my jsfiddle with the last list item absolute bottom: http://jsfiddle.net/evanmoore/QPQ8Z/
This is the jquery equal column height with the last list item absolute bottom http://jsfiddle.net/evanmoore/mCang/2/
var maxHeight = 0;
function setHeight(column) {
//Get all the element with class = col
column = $(column);
//Loop all the column
column.each(function() {
//Store the highest value
if($(this).height() > maxHeight) {
maxHeight = $(this).height()+2;
}
});
//Set the height
column.height(maxHeight);
}
$(document).ready(function() {
setHeight('.wrapper');
});
Upvotes: 2
Views: 212
Reputation: 2090
Initially set position
of #disclosure li.notes
to relative
. This will make the taller column get pushed down, so you can grab the maxHeight. Then, after you got that number, set it back to absolute, so it can be bottom: 0
.
Upvotes: 2