Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.