News for hackers. Stuff that matters.
Re:Blink tag removed from Firefox by dandelany on Wednesday August 07, 2013 @02:35AM (#6171214)
Here's an example, for one:

http://css-tricks.com/centering-in-the-unknown/

(talks about a CSS/divs solution, but as it mentions there are differences between the two). In general if you're dealing with a design that involves centering something with a dynamic size vertically, or one which involves having the height or width of two dynamic elements add up to the width of a third adjacent element (ie. "rowspan" and "colspan" in table-speak), there's a decent possibility that using a table might just be the least-hacky way to implement something. Bearing in mind that hackiness is a bit subjective :)

Re:Blink tag removed from Firefox by proexploit on Wednesday August 07, 2013 @03:13PM (#6174951)
Yeah certainly, thanks for the examples. I think the first item you mentioned, vertical centering of a single dynamic object actually can be handled better than tables currently (see some techniques here: http://html5hub.com/centering-all-the-directions/) but when you add more elements into the mix I can see how rowspan / colspan equivalents are not easily implemented without JS.