We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Assigning Box sizes

mreevs
mreevs asked
on
Medium Priority
161 Views
Last Modified: 2012-05-06
Hello,

I'm sure this is a very easy question the answer but I cant seem to find anything that will work for me.

The code below is what I have for changing a record on my site. I have the width set to 30 charters but I want the box to be about 4 lines deep. I have tried several different tags to try and get it that way but nothing seems to work.

Any help would be greatly appreciated.
<tr>
       <td>Description:</td>
	<td bordercolor=EEEEEE><input type="text" size="30" width="2" value="<? echo "$description"; ?>" name="description" /></td>
</tr>

Open in new window

Comment
Watch Question

What do you mean by 4 lines deep? If you mean height then you can increase the height of the box but if you want the description to appear in 4 lines then you can use a textarea

Author

Commented:
I want to have 4 lines of text.  How do I add the textarea command into previously stated code?
<textarea rows="4">your text</textarea>
This way if you want exact code
<tr>
       <td>Description:</td>
        <td bordercolor=EEEEEE><textarea rows="4" name="description"><? echo "$description"; ?></textarea></td>
</tr>

Open in new window

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.