Alex Rivera | Logout

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

Asked 2009-11-03T22:04:09.957
12

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

Edit
Report

1 Answer

0

IIRC, the <th> element will still center and bold the text due to the browser's internal styling. This being a big reason why I've recently started using CSS Reset sheets in all my projects.

answered 2009-11-03T22:28:22.553

Your Answer