我的<input type=image>
内联宽度/高度被我的input
样式覆盖。有没有办法纠正这个问题?还是内联样式在这种情况下不起作用?
HTML:
<form id="search" name="search" form method="get" action="find_search.php">
<input type= "text" name= "q" value="" />
<input type="hidden" name= "cat" value="" />
<input type="hidden" name= "time" value="0" />
<input type="hidden" name="letter" value="" />
<input type="hidden" name="offset" value="0" />
<input type="hidden" name= "type" value="quick" />
<input type= "image" src="images/search_button.png" value="Search" width="200" height="50" />
</form>
CSS:
input {
width:50%;
padding:0px;
outline:none;
height:36px;
font-size:24px;
}