I havn't ever used this, but i know there are ways to set items to behave like tables.

You probably will want to set the div to behave like a table cell...

http://www.w3.org/TR/REC-CSS2/tables.html

check that out.
I am reading it now to see if it will help...

Sorry if it doesnt!

Scott Reston wrote:

After combing the WSG archives, my "Eric M on CSS" books and google-at-large, I'm stumped. Is there a reliable way to reproduce within a div what valign=bottom does for table cells?

"text-align: bottom" adjusts an element inline with respect to the items adjacent to 
it...


i've tried:

        <div id="div">
        <p>this text should bottom-align.</p>
        </div>


#div { background-color: #CCCCCC; height: 50px; width: 600; padding-top: auto; padding-bottom: 0px; }


also tried:

#div p {
        vertical-align: bottom;
}

Thanks....

Scott Reston
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************








*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to