Separate names with a comma.
Discussion in 'Web Design and Development' started by Fleetwood Mac, Apr 6, 2008.
How can I align a nested div to the bottom of another?
There's (sadly) no valign for CSS.
You can use positioning; ie something like
or give in some insane margin/padding-top value.
Also, a quick google search reminded me, you can also do position:relative;top:50%; to put the top of the div box in the middle of its container.
Thanks.. It looks like this is good as its going to get.
Any other method lead to unresolvable issues with the box model problem in IE. Its been driving me crazy all morning now.
Well there is vertical-align, but it only works in specific cases, and generally not when you need it.