HTML:形式的文本输入错位
<form action="search.php" method="GET">
<input type="text" name="q" value="Search for an item..." width="150" style="border: solid 1px black; padding: 3px;" />
<input type="image" src="images/search_icon.png" style="width: 24px; height="30px;" />
</form>
我得到什么:
由如果我尝试在按钮上使用填充,它会将整个表单向下移动。
您有一个额外的'“'在'style'属性的中间。 – Aaron 2012-04-20 16:07:45
哦,是的,改变了它,但仍按钮在同一个地方。 – shakethefloor 2012-04-20 16:17:44
什么是你的问题? – Madbreaks 2012-04-20 16:23:39