IE9 CSS text-align not working

I have a CSS problem on IE9 - the text on the banner here http://bit.ly/1pbjEDE should be left aligned, but centered (which is the default). Oddly enough, when I use Dev Mode to emulate IE9.0 it works great, but it crashed on older machines and on browserstack.com.

CSS

.desc-wrapper {text-align: left; max-width:450px; padding-top:0px; padding-left:40px; margin-right:40%; margin-left:auto;}

      

Any ideas?

+3


source to share


1 answer


ie9 gets a different stylesheet and has text-align: center on .desc-wrapper.



http://i.imgur.com/omY7nzz.png - "if gte IE 9" is a conditional comment .

0


source







All Articles