Safari on iOS6 seems to handle display: table differently (compared to Safari on iOS5 and Safari on my PC).
In iOS5, display:table forces the div to box-sizing: border-box mode and ignores any attempt to override the window size.
On iOS6, display: table forces the div to box-sizing: content-box mode , and also ignores any attempt to override.
The result is that DIV DISPLAY:TABLE WIDTH 250px PADDING-LEFT: 50PX will be 250px wide on iOS5 and 300 pixels wide on iOS6.
My question is: do I get it right? There is an easy way to get a div with DISPLAY: TABLE, and the left pad will be the same width on iOS5 and iOS6.
FYI the reason I use DISPLAY: TABLE is because it allows just the vertical centering of my content, which has a variable height.
source share