Nitish
Nitish

Reputation: 2763

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>

Upvotes: 0

Views: 252

Answers (2)

Vincent Ramdhanie
Vincent Ramdhanie

Reputation: 103135

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

  input{
         height:30px;
  }

Upvotes: 2

Otto
Otto

Reputation: 4190

Here you go: http://jsfiddle.net/y9THJ/

Upvotes: 2

Related Questions