i have this text area..

textarea name="reply" id="reply" cols="105" rows="2"></textarea>

in firefox the textarea is larger and in IE the text area is shorter. How do i have the same size text area in both browsers? Can i have an example?

Recommended Answers

All 2 Replies

textarea style="width:200px;height:444px"

no brianer

Use css. Here is example:

textarea#reply {
      width: 424px;
      height: 126px;
      border: 1px solid gray;
      overflow: auto /* Hiding scroll-bar in IE */
     }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.