对于下面的表格,我怎样才能使该字段宽500像素,高30像素?
echo '<form action="http://www...com/.../search2.php" method="post">
<div class="searchtext"><label for="title">Search</label></div>
<div class="searchfield"><input type="text" name="find"></div>
<div class="searchbutton"><input name="submit" type="submit" value="Go"></div>
</form>
';
答案 0 :(得分:0)
请学习基本的CSS http://www.tizag.com/cssT/
<input type="text" name="find" style="height:30px; width:500px">