The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> html
gladiator
post Jul 28 2010, 10:52 AM
Post #1





Group: Members
Posts: 3
Joined: 28-July 10
Member No.: 12,395



I am new to html,how can I expand the size of the box in drop-down list or the texarea box,I used size="20" or rows="40" columns="50"

but it did not work! I want to expand the width of the box but I cannot do it?

This post has been edited by gladiator: Jul 28 2010, 10:55 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jul 28 2010, 11:04 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



The textarea element uses the cols attribute:
http://htmlhelp.com/reference/html40/forms/textarea.html

There is no HTML to specify the width of a select element:
http://htmlhelp.com/reference/html40/forms/select.html
You'll need to use CSS instead:
http://htmlhelp.com/faq/html/docs.html#about-css
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
gladiator
post Jul 29 2010, 10:18 AM
Post #3





Group: Members
Posts: 3
Joined: 28-July 10
Member No.: 12,395



QUOTE(anulko @ Jul 29 2010, 03:38 AM) *

QUOTE(gladiator @ Jul 28 2010, 10:52 AM) *

I am new to html,how can I expand the size of the box in drop-down list or the texarea box,I used size="20" or rows="40" columns="50"

but it did not work! I want to expand the width of the box but I cannot do it?


you can use [style="width:300px;"] instead of "size" attribute and it will help you to expand the size of the textarea easily...

thankssssssssssssssssssssssssssssss.it workssssssssssssssssssssssssssssss
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 03:49 AM