okay, so slightly OT here... could someone explain the use of  
display:table-cell?
I can never seem to get my brain around the how's and why's
Like, why wouldn't you use a table instead of divs acting like tables  
and table cells?

thanks!


>> Is there a way to vertically center content in a table cell using CSS
>> (not HTML)?
>
> A CSS table cell or an HTML table cell?
>
> CSS:
> [assume markup -> <div class="vcenter">]
> .vcenter {display: table-cell;vertical-align: middle;height: 100%;}
>
> HTML:
> [assume markup -> <td class="vcenter">]
> .vcenter {vertical-align: middle;}
______________________________________________________________________
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/

Reply via email to