1 reply [Last post]
Last seen: 14 years 35 weeks ago
Joined: 2007-12-13
Posts: 1
Points: 0

I'm convinced I am just looking for the answer the wrong way, but at the risk of getting ridculed I will procede anyways.
I'm trying to do something really simple, align text in a div to the bottom, but all attemps have failed. The table code would be (valign="bottom"), but I've tried a lot of different things with no luck, and I'm sure it has to be easier than what I'm making it out to be.
|                                |
|                                |
|                                |
|                                |
|text here                    |
End result. Please help me.

thepineapplehead's picture
Last seen: 16 weeks 3 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

Without knowing what element

Without knowing what element you want to apply it to, or how your HTML is constructed, we have to guess.

You'd either set the text with absolute positioning and set bottom to 0, or set the height and line height to the same value and use vertical-aling: bottom;

but please show us the code you're working with Wink

Verschwindende wrote:
  • CSS doesn't make pies