Jump to content

textarea rows & cols in CSS?


atrum

Recommended Posts

Hello all.

 

I just had a quick css form question. I am trying to get the textarea's rows, and cols attribute set in css. So for example how can I do this in CSS.

 

<textarea rows="20" cols="20"></textarea>

 

So far, I can set the width and height with not problem, but the text area won't apply the multiline attribute with out having the rows attribute applied in the html.

 

Any help would be greatly appreciated.

 

Link to comment
https://forums.phpfreaks.com/topic/164543-textarea-rows-cols-in-css/
Share on other sites

Ok, I have one more question about the textarea, specifically with firefox. Go to tools.exiled-alliance.com/calltool.dev/

 

The textarea on the right refuses to automatically wordwrap, and just keeps scrolling to the right.

If you check that site in IE it word wraps just fine. Any Insight on this, or what I could be doing wrong?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.