Button sizes

Discussion in 'HTML' started by DaveG, Jul 23, 2004.

  1. DaveG

    DaveG Guest

    I am trying to create a series of buttons all the same size, it seems that
    if I use the default buttom in HTML <input type="button"> then the button
    size is created with respect to the text in the value="" field. I have
    tried to use the width="100" field to fix the button size but that did not
    work the button stays the original size as set by value="". I know I can
    create my own buttons of fixed sizes but I just need a quick method at
    this point in time and was hoping to create standard size buttons from the
    supplied tags.

    Is this possible, is so how.

    Thanks
    DaveG, Jul 23, 2004
    #1
    1. Advertising

  2. DaveG

    rf Guest

    DaveG wrote:

    > I am trying to create a series of buttons all the same size,


    CSS.
    input {width: 8em;}

    --
    Cheers
    Richard.
    rf, Jul 23, 2004
    #2
    1. Advertising

  3. DaveG

    PW Guest

    <input type="submit" value="Add" style="width: 100px; height: 60px;">
    PW, Jul 23, 2004
    #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. David Stephen
    Replies:
    2
    Views:
    577
    David Stephen
    Jul 10, 2003
  2. coleenholley
    Replies:
    5
    Views:
    1,142
    coleenholley
    Jan 21, 2004
  3. Greg Smith

    Changing control sizes

    Greg Smith, Jan 26, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    334
    Eliyahu Goldin
    Jan 26, 2005
  4. Iams

    Tables and column sizes

    Iams, Feb 14, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    538
  5. DaveG

    Button sizes

    DaveG, Jul 23, 2004, in forum: HTML
    Replies:
    3
    Views:
    42,868
    DaveG
    Jul 23, 2004
Loading...

Share This Page