控制表格字段尺寸

时间:2010-12-24 01:13:43

标签: html css

对于下面的表格,我怎样才能使该字段宽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>
';

1 个答案:

答案 0 :(得分:0)

请学习基本的CSS http://www.tizag.com/cssT/

<input type="text" name="find" style="height:30px; width:500px">