If I am vertically aligning an element it seems that the only way to
consistently do so with standard css is to implement a display:
table-cell; vertical-align: middle; style on the container.
Is there any benefit this affords me over just creating a table? I
seems odd to me that the new hero
The benefit of using display:table-cell over an actual table is that if
the text is not tabular, it does not belong in a table. Using
display:table-cell will allow you to mimic the display of a table cell
while being semantically correct.
Another thing to note is that not all browsers implement
Another thing to note is that not all browsers implement
display:table-cell
Can you make mention of which don't?
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List
I disagree. The idea that using display: table-cell does not seem to
be any more semantically correct than simply placing the element in a
table cell according to the W3C
(http://www.w3.org/TR/CSS2/tables.html#value-def-table-cell):
table-cell (In HTML: TD, TH)
Specifies that an
2009/4/23 Jack Blankenships learningcssindet...@gmail.com:
If I am vertically aligning an element it seems that the only way to
consistently do so with standard css is to implement a display:
table-cell; vertical-align: middle; style on the container.
Is there any benefit this affords me over
--- On Thu, 4/23/09, Jack Blankenships learningcssindet...@gmail.com wrote:
The idea that using display: table-cell does not seem to be any more
semantically correct than simply placing the element in a table cell ...
By definition, CSS declarations are NOT semantic but simply describe the
won't
completely occur until well after the rest of us old-timers have
retired. ;)
-Original Message-
From: css-d-boun...@lists.css-discuss.org
[mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Bobby Jack
Sent: Thursday, April 23, 2009 4:07 PM
To: css-d
Subject: Re: [css-d] Vertical