March 25, 2009 Archives

25-03-2009 16:18

Vertical alignment of text within div

Posted by Jon Jenson

If you want to align text at the bottom of a div, the best way is to make the div "position:relative;", and then put the text in a container (p or div or whatever) inside the aforementioned div and make it "position:absolute; bottom:0;"


Posted by DaveQB | Permanent Link | Categories: IT