internet explorer - vertical alignment issue compatibility mode IE -
i'm having strange problem while building structure web site. have:
.container(height:30px;line-height:30px;)
in have few links (font-size:14px) want vertical-aligned middle of div.everything fine,i switched compatibility views button on ie , still ok. problem if change font size 12px , switch compatibility view links not vertical-aligned anymore!
im testing on ie8
why happening? what-s solution?
thanks luca
you might have found solution in case don't,
i had same problem vertical-align in ie8. easiest way found stop spending time adding known code in head.
<meta http-equiv="x-ua-compatible" content="ie=emulateie7" />
this code brings ie8 ie7 engine support vertical-align in better way.
if got better , i'm open learn new :)
cheers!
Comments
Post a Comment