[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 147
  • 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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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