How to Make the Width of a Drop-Down Form

A drop-down form is a menu on a website that has an arrow pointing down; when you click on it, a list of options displays from which you can select the one you want. After selecting the desired option, that option appears in the form. If you want to dictate the width of a drop-down menu, you'll need to do this in the code that you used to create the Web page.

Instructions

    • 1

      Click "Start," "All Programs," "Accessories" and "Notepad."

    • 2

      Click "File" and select "Open." Double-click the code file you have for your Web page.

    • 3

      Add the width you want to the drop-down menu that currently exists. Enter a number in place of the "#" to change the width:

      <select name=u_month style="width:#px">

    • 4

      Create the drop-down menu if you haven't yet:

      <option value="">Drop Down Width</option>

      <option value="1">Selection 1</option>

      <option value="2">Selection 2</option>

    • 5

      Replace "Selection 1" and "Selection 2" with the pieces of the drop-down menu you want. You can also change the "option value" to the name of the drop-down menu you prefer.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured