Setting form width?

Discussion in 'Javascript' started by John Murray, Dec 13, 2005.

  1. John Murray

    John Murray Guest

    I am a complete javascript newbie figuring out how to do what my team needs
    as we go along.

    I recently created a page with drop down menus that call up swf pages. The
    problem is, I have more than one menu, and the drop down boxes are not the
    same length. I've tried the standard html width command, and have not been
    able to find a way to specify the width.

    Can anyone please tell me how to set it, or point me in the right direction?

    Thanks,

    John
     
    John Murray, Dec 13, 2005
    #1
    1. Advertising

  2. John Murray

    McKirahan Guest

    "John Murray" <> wrote in message
    news:...
    > I am a complete javascript newbie figuring out how to do what my team

    needs
    > as we go along.
    >
    > I recently created a page with drop down menus that call up swf pages.

    The
    > problem is, I have more than one menu, and the drop down boxes are not the
    > same length. I've tried the standard html width command, and have not

    been
    > able to find a way to specify the width.
    >
    > Can anyone please tell me how to set it, or point me in the right

    direction?
    >
    > Thanks,
    >
    > John
    >
    >


    look into CSS
     
    McKirahan, Dec 15, 2005
    #2
    1. Advertising

  3. John Murray

    Randy Webb Guest

    John Murray said the following on 12/13/2005 4:53 PM:
    > I am a complete javascript newbie figuring out how to do what my team needs
    > as we go along.
    >
    > I recently created a page with drop down menus that call up swf pages. The
    > problem is, I have more than one menu, and the drop down boxes are not the
    > same length. I've tried the standard html width command, and have not been
    > able to find a way to specify the width.
    >
    > Can anyone please tell me how to set it, or point me in the right direction?


    Add blank spaces to one of your options. The select will take the length
    of the text of the longest option as its width.

    --
    Randy
    comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
    Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
     
    Randy Webb, Dec 15, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AndrewF
    Replies:
    1
    Views:
    841
    Bruce Barker
    Oct 10, 2005
  2. Xu
    Replies:
    11
    Views:
    8,657
    Andrew Thompson
    Jul 16, 2005
  3. Sean Jorden
    Replies:
    1
    Views:
    624
    laurie
    Aug 19, 2003
  4. ppcguy
    Replies:
    3
    Views:
    1,329
    Toby Inkster
    Aug 26, 2005
  5. Replies:
    0
    Views:
    511
Loading...

Share This Page