If the height is known, then establishing a line-box with the same 
line-height=height should allow for vertical-aligning a descendant at 
the bottom of the cell.

http://www.satzansatz.de/cssd/tmp/tablebottom.html

In theory. Practically, IE7 and lower would need a display:inline-block 
hackery, since its inline model is broken.

And some more real content on the table-cell breaks it all. No way.

<td class="normalday">
   <span class="dayofmonth">2</span>
   <p class="createtag"><a href="#?date=2008-03-2">New</a></p>
</td>


.normalday {
        ...
        height: 92px;
        ...
        vertical-align: top;
}

.dayofmonth {
        font-weight: bold;
}

.createtag {
        float: right;
        line-height: 92px;
        margin: 0;
        padding: 0;
}

.createtag a {
        line-height: 1.12em;
        font-size: xx-small;
        vertical-align: bottom;
}


-- 
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to