<p>Is there a simple way of getting a HTML textarea and an input type="text" to render with (approximately) equal width (in pixels), that works in different browsers?</p>

<p>A CSS/HTML solution would be brilliant. I would prefer not to have to use Javascript.</p>

<p>Thanks
/Erik</p>

You should be able to use
```
```
.mywidth {
  width: 100px;   
}
```
```
```
```
<input class="mywidth">
<br>
<textarea class="mywidth"></textarea>
```
```