Forum Moderators: not2easy

Message Too Old, No Replies

valign?

help me not to use table :)

         

fmaz

12:57 am on Jul 6, 2004 (gmt 0)

10+ Year Member



Yup .. I want to valign="bottom" text in a <div> WITHOUT using table... possible?

Rambo Tribble

1:14 am on Jul 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm not sure which catch number this is (it isn't 22), but alignment of inline elements within block elements doesn't seem to have entered the W3C's thinking. Try this:

<div style="position:relative;width:400px;height:300px;background:#EED;">
<span style="display:block;position:absolute;bottom:0;">
text
</span>
</div>