Previous Message
Next Message

Is there a CSS equivalent to valign="bottom" for block level elements?

Sent by Steve Clay on 18 March 2005 17:05


Friday, March 18, 2005, 8:35:44 AM, Chris Bell wrote:
CB> And to my test page: http://www.boatingbeta.com/test/header_test.htm

Actually, you have a fairly simple solution.

<div style="position:relative; padding-left:170px; min-height:50px">
   <!-- your content here -->
   <img style="position:absolute; bottom:0; left:0" ... />
</div>

Now, you'll probably have to apply the Holly hack to the container to get
IE/win to work.  The min-height is just in case the text content was
shorter than the height of the image.

Steve
-- 
http://mrclay.org/ : http://frenchhorns.mrclay.org/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: