Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Jun 2001
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how do you change a forms size in HTML?

    how do you change a forms size in HTML?
    Would you write something like

    <form action="results.asp" method="post" name="myForm" size=

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Sydney, Australia, New South Wales, Australia
    Posts
    251
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: how do you change a forms size in HTML?

    You can't change the size of the form, but you can change the size of the controls in the form. Most controls have a size= or a width= attribute. Try this in your input tag.

  3. #3
    New Lounger
    Join Date
    Jan 2001
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: how do you change a forms size in HTML?

    I don't know if this is still helpful, but in addition to the size of the field, you can also adjust font, font sizes, etc. You may be able to use styles to do so, by including a STYLE section within the head of the HTML such as below.

    <STYLE>
    .FORMSELECT { font-style: italic; font-family : verdana; font-size: 7pt ; height:14px; width:100px}
    </STYLE

    Then in the Select statement, you can include the style:

    <select CLASS="FORMSELECT" name="FieldName">
    etc.

    I'm new to styles myself, so can't guarantee if this will work for your purposes. Anyway, for what it's worth!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •