Gidgidonihah Gidgidonihah - 1 year ago 54
CSS Question

Why would ie8 center text when the text-align is set to left?

Using ie8's own dev tools it shows the elements text-align value as left, but it is rendered centered in ie8 standards mode.
In quirks or ie7 standards, everything is correctly aligned left.

Screenshot of IE Developer tools illustrating the issue


A very elegant solution from

th {
    text-align: inherit;