的問題是,I
按鈕保持低一點(特別是在鍍鉻),如果我從bitalic刪除FONT-FAMILY比它同樣3個按鍵具有不同的字體垂直對齊不同
<div>
<button type="button" onclick="ab('*');" class="bbold">B</button>
<button type="button" onclick="ab('_');" class="bitalic">I</button>
<button type="button" onclick="ab('code');" class="bcode">{code}</button>
</div>
對齊
.bbold, .bitalic, .bcode
{
height: 30px;
min-width: 30px;
}
.bbold {
font-weight: bold;
}
.bitalic
{
font-family: "Times New Roman";
font-style: italic;
font-weight: bold;
}
.bcode
{
font-family: consolas, courier;
}