MinnRick
asked on
Vertical-Alignin IE9
Hello Experts -
I've got a table cell without spacing, padding or a border inside of which I have some text that I want vertically centered. Both valign=middle in the <td> tag and vertical-align:middle; in the style sheet work fine with one exception: IE9. It shifts the text one irritating pixel upward from vertical center. F12'ing to IE9 Compatibility View makes the shift goes away.
With a declaration of <!DOCTYPE html>, is there a reason that (non-compatibility) IE9 does this and if so is there a workaround? Thanks all.
-- Rick
I've got a table cell without spacing, padding or a border inside of which I have some text that I want vertically centered. Both valign=middle in the <td> tag and vertical-align:middle; in the style sheet work fine with one exception: IE9. It shifts the text one irritating pixel upward from vertical center. F12'ing to IE9 Compatibility View makes the shift goes away.
With a declaration of <!DOCTYPE html>, is there a reason that (non-compatibility) IE9 does this and if so is there a workaround? Thanks all.
-- Rick
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
MinnRick,
Thank you for understanding that sometimes there is no answer just information. :^)
Cd&
Thank you for understanding that sometimes there is no answer just information. :^)
Cd&
ASKER