• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 151
  • Last Modified:

Assigning Box sizes

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

0
mreevs
Asked:
mreevs
  • 3
1 Solution
 
sunithnairCommented:
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
0
 
mreevsAuthor Commented:
I want to have 4 lines of text.  How do I add the textarea command into previously stated code?
0
 
sunithnairCommented:
<textarea rows="4">your text</textarea>
0
 
sunithnairCommented:
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

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now