Inherit behavior via styles?

liunx

Guest
I saw sombody post some CSS (it was in the HTML forum) that demonstrated a way of getting one HTML element to act like another HTML element. Specifically, this CSS caused a DIV block to inherit some of the behavior of a table cell -- e.g., in terms of vertical centering abilities.

Does that ring any bells with anybody? Thanks.An IE behaviour file maybe?The display:table-cell only works in Opera
A few methods to vertically align (<!-- m --><a class="postlink" href="http://www.student.oulu.fi/~laurirai/www/css/middle/">http://www.student.oulu.fi/~laurirai/www/css/middle/</a><!-- m -->) text. Check browser support before using.Originally posted by Fang
The display:table-cell only works in Opera
Yep, that be the one for which I was looking. Too bad it is Opera-only. :(

Thanks.
 
Back
Top