![]() ![]() |
| gladiator |
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 |
| Darin McGrew |
Jul 28 2010, 11:04 AM
Post
#2
|
|
WDG Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Root Admin Posts: 7,851 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 -------------------- Darin McGrew
WDG Member since 1998 |
| gladiator |
Jul 29 2010, 10:18 AM
Post
#3
|
|
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? 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 |
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 02:35 AM |