我创建了一个导航菜单。在 Google Chrome / Firefox 中它看起来非常好。但是在 Internet Explorer 中,按钮的文本在底部?!
那么我该如何解决以下问题?
看看我的意思:
谷歌浏览器:
火狐浏览器:
IE浏览器:
.auto-style2 {
font-size: 40px;
text-align: left;
float:left;
}
.auto-style3 {
width:1200px;
height:50px;
margin: 0px auto;
text-align: left;
vertical-align: middle;
}
.auto-style5 {
text-align: right;
float:right;
line-height:50px;
}
<div class="auto-style3">
<div class="auto-style2">
<strong>SPICYSOFTWARE</strong>
</div>
<div class="auto-style5">
<button name="Abutton1" style="width: 100px; height: 30px; margin-left: 5px; vertical-align: middle; text-align: center;">MWST</button>
<button name="Abutton2" style="width: 100px; height: 30px; margin-left: 5px; vertical-align: middle;">News</button>
<button name="Abutton3" style="width: 100px; height: 30px; margin-left: 5px; vertical-align: middle;">Alle Apps</button>
<button name="Abutton4" style="width: 100px; height: 30px; margin-left: 5px; vertical-align: middle;">Über uns</button>
<button name="Abutton5" style="width: 100px; height: 30px; margin-left: 5px; vertical-align: middle;">Changelog</button>
</div>