0
下面的代碼工作正常,處處除了從iPad在按鈕中的文本在兩行被打破:iPad的分解按鈕上的文字爲兩條獨立的線路
.sign_up {
background: url('../images/submit_button.png') no-repeat 0 0;
border: 0;
text-align: center;
color: white;
text-transform: uppercase;
font-size: 14px;
cursor: pointer;
margin-left: 12px;
width: 110px;
height: 34px;
}
的sign_up類已經給按鈕元素其中包含「添加其他人」作爲文本。
但是,在iPad上,「其他」最終在第二行。
現在用於白色空間:NOWRAP;在你的sign_up類中 –