Size of an input element

Discussion in 'HTML' started by Olaf Schinkel, Dec 2, 2004.

  1. Hi !

    I want to give some elements a special size.
    I tried <input type=submit height="xx" width="yy" .... >

    I found some description about it, but it does not work.
    Is it possible to size such elements?

    best
    Olaf



    --
    Die Erde ist eine Scheibe
     
    Olaf Schinkel, Dec 2, 2004
    #1
    1. Advertising

  2. Olaf Schinkel

    Karl Core Guest

    "Olaf Schinkel" <> wrote in message
    news:...
    > Hi !
    >
    > I want to give some elements a special size.
    > I tried <input type=submit height="xx" width="yy" .... >
    >
    > I found some description about it, but it does not work.
    > Is it possible to size such elements?
    >


    <input type="submit" style="height: 15px; width: 15px;" />


    --
    -Karl Core
    Please Support "Project Boneyard":
    http://www.insurgence.net/info.aspx?action=band&item=boneyard
     
    Karl Core, Dec 2, 2004
    #2
    1. Advertising

  3. "Karl Core" schrieb:

    >
    > "Olaf Schinkel" <> wrote in message
    > news:...
    > > Hi !
    > >
    > > I want to give some elements a special size.
    > > I tried <input type=submit height="xx" width="yy" .... >
    > >
    > > I found some description about it, but it does not work.
    > > Is it possible to size such elements?
    > >

    >
    > <input type="submit" style="height: 15px; width: 15px;" />
    >
    >


    Thanks...
    I only used the wrong syntax.....

    Olaf

    --
    Die Erde ist eine Scheibe
     
    Olaf Schinkel, Dec 2, 2004
    #3
  4. Olaf Schinkel

    Kris Guest

    In article <conljd$a0f$>,
    "Karl Core" <> wrote:

    > > I want to give some elements a special size.
    > > I tried <input type=submit height="xx" width="yy" .... >
    > >
    > > I found some description about it, but it does not work.
    > > Is it possible to size such elements?
    > >

    >
    > <input type="submit" style="height: 15px; width: 15px;" />


    Maybe it is better to use em values there when the element contains a
    text value.

    <input type="submit" value="foo" style="height: 1.4em; width: 6em;" />

    --
    Kris
    <> (nl)
     
    Kris, Dec 2, 2004
    #4
  5. Kris schrieb:

    > In article <conljd$a0f$>,
    > >
    > > <input type="submit" style="height: 15px; width: 15px;" />

    >
    > Maybe it is better to use em values there when the element contains a
    > text value.
    >
    > <input type="submit" value="foo" style="height: 1.4em; width: 6em;"
    > />


    Hi!
    I will test it an see teh results.
    I have it now in an CSS file, so ich can change it very fast.

    Best
    Olaf


    --
    Die Erde ist eine Scheibe
     
    Olaf Schinkel, Dec 2, 2004
    #5
  6. Olaf Schinkel

    Karl Core Guest

    "Kris" <> wrote in message
    news:4all.nl...
    > In article <conljd$a0f$>,
    > "Karl Core" <> wrote:
    >
    >> > I want to give some elements a special size.
    >> > I tried <input type=submit height="xx" width="yy" .... >
    >> >
    >> > I found some description about it, but it does not work.
    >> > Is it possible to size such elements?
    >> >

    >>
    >> <input type="submit" style="height: 15px; width: 15px;" />

    >
    > Maybe it is better to use em values there when the element contains a
    > text value.
    >
    > <input type="submit" value="foo" style="height: 1.4em; width: 6em;" />


    Good point.


    --
    -Karl Core
    Please Support "Project Boneyard":
    http://www.insurgence.net/info.aspx?action=band&item=boneyard
     
    Karl Core, Dec 3, 2004
    #6
    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. MSNews
    Replies:
    1
    Views:
    2,754
    Alvin Bruney [MVP]
    Apr 22, 2004
  2. Rod  Snyder

    moving from form element to form element

    Rod Snyder, May 29, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    413
    Vidar Petursson
    May 29, 2004
  3. HANM
    Replies:
    2
    Views:
    734
    Joseph Kesselman
    Jan 29, 2008
  4. Jason Cavett

    Preferred Size, Minimum Size, Size

    Jason Cavett, May 23, 2008, in forum: Java
    Replies:
    5
    Views:
    12,650
    Michael Jung
    May 25, 2008
  5. Cal Who
    Replies:
    5
    Views:
    967
    Cal Who
    Apr 26, 2010
Loading...

Share This Page