Sent by Spartanicus on 22 June 2004 17:05
Steve Clay [EMAIL-REMOVED]> wrote:
>Monday, June 21, 2004, 3:14:05 PM, Gee, David wrote:
>GD> vertically centering content within a block ...
>GD> CSS just doesn't support it. At all.
>GD> Way to go, W3C. Next time, wait for the drugs to wear off
>GD> before writing the specs, okay guys?
>
>Nice troll, I'll bite. CSS2 supports vertical centering just fine via
>display:table-cell; vertical-align:middle, which works in most modern
>non-IE browsers.
I'd agree with the OP, certain things that should be trivial to do are
ridiculously complex with CSS, vertical centering is an example.
Display:table-cell is a hack, and an ugly one. If you think that it is a
proper solution then you haven't understood css tables.
--
Spartanicus
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/