[thelist] a Simple CSS Vertical Align Question

Casey Crookston caseycrookston at clearwire.net
Sat Nov 29 14:11:43 CST 2008

At least, I think it should be simple.  Here's what I am trying to do...

    <div id="div1">This needs to be vertically aligned top</div>
    <div id="div2">This needs to be vertically aligned bottom</div>

I would have thought this would do it:

#div1 {vertical-align:top;}
#div2 {vertical-align:bottom;}

But apparently it's not that simple.  I have found 50 examples of how to do it correctly, but none of the examples I find seem to do this simple task.  Any ideas?



More information about the thelist mailing list