February 9th, 2004, 10:04 AM
css vertical text align
hi. i'm trying to have some text in a div, but also i want the text align to the bottom of the div. something like. but i don't know how... have a look at http://www.desorden.net/prueba.html
any ideas? thanks in advance
February 9th, 2004, 10:17 AM
place the text into an absolutely positioned wrapper div and then set this divs bottom position using css e.g.
<div class="wrapper">my text</div>
This will work only if the parent div is relatively or absolutely positioned.
February 9th, 2004, 10:46 AM
February 9th, 2004, 05:41 PM
I believe you mis-interpreted OCB's instructions. See this example for working code.
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.
My html and css workshop
, demos and tutorials.
Ask a better question
, get a better answer.