Lori K. Brown wrote: >I'm getting the hang of using floated elements, slowly. New problem: >Containing div is 200 px tall, has a left floated div and a right >floated div that are as tall as the containing box. That's working ok. I >need to add another div which is much shorter. Is there a way to bottom >align that new 50 px element inside of the 200 px containing div? > >
You can't bottom align this 50px div if it is a float [1], as your subject line says, but you can if you absolutely position it and give it bottom: 0. Your 200px containing div will need to be set to position: relative for this to work. If this method doesn't work for you we will need to see a live page to give you more detailed help. Keep in mind that is generally not a good idea to set heights on elements, especially not in pixels, since they won't resize as the content inside does (your client asks you to add more text, the user needs a larger font size, etc.) Zoe [1] Well, technically you can, but I wouldn't bother with it when absolute positioning can do the job for you nine times out of ten. http://mrclay.org/web_design/bottom_float.php -- Zoe M. Gillenwater Design Services Manager 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/
