• I want to add a few text fields into a wordpress page.

    For example, one that allows a max of 115 characters, is 64 characters wide and 2 rows in height.

    In HTML I can specify the width by using cols=”64″ rows=”2″ to define the text area size and use maxlength=”115″ for the character limit.

    However when I paste this code into my wordpress page it seems to recognize the maxlength and rows attributes, but not the cols= for the width.

    Is there a way I can specify the width inline in the wordpress page without editing the actual main css file?

    The code in HTML was this:

    <textarea name=”item3″ maxlength=”115″ cols=”65″ rows=”2″></textarea>

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • That should have worked just fine, you can add HTML tags to a post or page as long as you are using the Text editor and not the Visual editor. Can you please post a link to a page or post where you have that field defined?

Viewing 1 replies (of 1 total)
  • The topic ‘How do I specify the width of a text area in WordPress’ is closed to new replies.