我有這個page,如果你看看右上角的搜索...我需要移動文本搜索約2px,使其與圖像中心,但我的文本對齊垂直對齊或填充不做我所做的希望這裏是我的CSS將文字向上移動?
#Search {
background: url("/images/no-letters-search.png") no-repeat scroll 0 0 transparent;
border: medium none;
font-size: 15px;
height: 37px;
left: 31px;
padding-left: 26px;
position: relative;
top: -3px;
width: 175px;
font-family: Helvetica, sans-serif;
}
,這裏是我的html
<form id="search_form" method="post" action="/mm5/merchant.mvc?">
<input type="text" name="Search" id="Search" tabindex="0" />
<input name="Screen" type="hidden" value="SRCH" />
</form>
請問什麼瀏覽器? – 2011-04-05 21:09:33
在Mac上的Firefox 4是我的瀏覽器,但我看着他們所有人 – Trace 2011-04-05 21:12:09