[英]Having trouble with my css formatting
我的CSS樣式有問題。 我的提交按鈕上的文本顯示不正確。 下面是一張圖片以及我正在使用的代碼。謝謝您的幫助。
<style>
input[type=submit] { float: left; width: 160px; height:25px; }
input {
-moz-border-radius:40px;
-webkit-border-radius:40px;
border-radius:40px;
}
</style>
看起來您需要為搜索按鈕調整文本的line-height
。 在沒有看到其余相關代碼的情況下,很難確切知道這將需要在哪里。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.