简体   繁体   中英

Table data <td> height not changed

My table data height is not increasing? Why?

<table>
  <tr>
    <td>Name : </td>
  </tr>
  <tr>  
    <td><input type="text" name = "name" height="80"  size="35" /></td>             
  </tr>
  <tr>
    <td>E-mail : </td>
  </tr>
  <tr>
    <td><input type="text" name = "name" size="35" /></td>
  </tr>
</table>

height is not an attribute of the input element. You may use some CSS for this.

  input{
         height:30px;
  }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM