Gidgidonihah Gidgidonihah - 1 year ago 96
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

Answer Source

A very elegant solution from

th {
    text-align: inherit;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download