• 0

Vertically aligning a paragraph.


Question

Just wondering, why can't one vertically align a paragraph in a divider so that the paragraph resides at the bottom right hand side of the divider? I thought vertical alignment worked with block level elements that were contained in block level elements? Thanks for any information, I have no idea why this seems to difficult. :no:

Link to comment
https://www.neowin.net/forum/topic/306097-vertically-aligning-a-paragraph/
Share on other sites

3 answers to this question

Recommended Posts

  • 0

vertical-align doesn't work with block level elements as per spec. If you want something to sit at the bottom, you would have to fudge it with padding-top or position it absolute and use bottom : 0px;

Please correct me if I'm wrong

Here's a faux mock up, it's fudged, but looks right.

Anywhere close? http://www.lunamonkey.co.uk/test/bottom-align-text.asp

Edited by lunamonkey
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.