- From: Matthew Wilcox <elvendil@gmail.com>
- Date: Thu, 5 Jan 2012 11:40:49 +0000
- To: www-style@w3.org
Is this being looked at? To quote from a blog post I wrote on the topic recently: For the love of all that is good in the world, I can not see why this is still a problem in CSS. We get hardware-accelerated CSS filters, but we still can’t get a box to centre vertically if we don’t know the box height and container height. Evidently no designers want to do that or no cows have wandered down that path, or all the one’s that did walked off a cliff and were never heard of by the CSS-WG. You might expect vertical-align:middle; to work. Well, don’t we all. *crickets* There’s a hack to do it, but the problem with using display:table is that accessible agents derive a semantic meaning from the CSS declaration and read it out as a table. Yes, I agree that sounds pretty backward to me too, but that’s what happens. Which means the hack is harmful to accessibility. Why the CSS-WG don’t just allow vertical-align:middle; on non-cell properties I don’t know. So, now I ballsed up and joined the list - can someone please explain this, and can we fix it?
Received on Thursday, 5 January 2012 11:44:11 UTC