Re: [css-d] making content appear at the bottom of parent container

2005-08-31 Thread Zoe M. Gillenwater

Theodore Serbinski wrote:


http://151.200.137.29/

now how can i attach that little fishy curvered image with that IOOS
image to the bottom of it's parent div? i always want it to be on the
bottom of the div even if the content is too short (how it is now) 
and if the content is much longer to have it expand with it?
 



Ted,

I don't see any replies to this thread you started a while ago.  Did you 
get it working the way you want it?


Basically, if you want something to stick to the bottom of its 
container, you have two options.


1. Position it absolutely within the container with "bottom: 0" set, OR
2. Set it as a background image on the container with 
"background-position: bottom left" set.


Option 1 is better for content images, option 2 is better for decorative 
images.  Either way, if you don't want the other content of the 
container div to overlap the image, set the appropriate amount of bottom 
padding on the container div.


Zoe

--
Zoe M. Gillenwater
Design Specialist
UNC Highway Safety Research Center
http://www.hsrc.unc.edu

__
css-discuss [EMAIL PROTECTED]
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/


[css-d] making content appear at the bottom of parent container

2005-08-18 Thread Theodore Serbinski
hi guys!

need some help, got a design here i'm working on:

http://151.200.137.29/

now how can i attach that little fishy curvered image with that IOOS
image to the bottom of it's parent div? i always want it to be on the
bottom of the div even if the content is too short (how it is now) 
and if the content is much longer to have it expand with it?

thanks!

ted
__
css-discuss [EMAIL PROTECTED]
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/