2 select forms in 1 cell without line wrap

Discussion in 'HTML' started by mbuess, Oct 25, 2004.

  1. mbuess

    mbuess Guest

    Hi there

    I would like to have 2 select forms in 1 cell on the same line, but it
    always wraps the line.

    It's because of the form tag, this i know, does someone know a solution?

    Thanks for the answers.

    Here the code:

    <td nowrap><form name="selectprintserver" method="post"
    action="index.php?page=user&action=newentry&user=edsbuess"> <select
    name="newPrintserver" onchange="document.selectprintserver.submit()">
    <option></option> <option value="kdprsp001" >kdprsp001</option> <option
    value="kfauar001" selected>kfauar001</option> <option value="kfbfbb001"
    >kfbfbb001</option> <option value="kfbisd002" >kfbisd002</option> <option

    value="kfbobb001" >kfbobb001</option> <option value="kfflfs001"
    >kfflfs001</option> <option value="kflagy001" >kflagy001</option> <option

    value="kfligs001" >kfligs001</option> <option value="kfligs005"
    >kfligs005</option> <option value="kfligs006" >kfligs006</option> <option

    value="kfligy001" >kfligy001</option> <option value="kfmsbg001"
    >kfmsbg001</option> <option value="kfmsgy001" >kfmsgy001</option> <option

    value="kfmubz001" >kfmubz001</option> <option value="kfowgy001"
    >kfowgy001</option> <option value="kfprgb001" >kfprgb001</option> </select>

    <input type="Hidden" name="newResourceTyp" value="2"></form><form
    name="selectprintqueue" method="post"
    action="index.php?page=user&user=edsbuess"> <select name="newPrintQueue">
    <option value="kpauar00090d">kpauar00090d</option> <option
    value="kpauar00090h">kpauar00090h</option> <option
    value="kpauar00101d">kpauar00101d</option> <option
    value="kpauar00101h">kpauar00101h</option> <option
    value="kpauar00140d">kpauar00140d</option> <option
    value="kpauar00140h">kpauar00140h</option> <option
    value="kpauar00207d">kpauar00207d</option> <option
    value="kpauar00207h">kpauar00207h</option> <option
    value="kpauar00208d">kpauar00208d</option> <option
    value="kpauar00208h">kpauar00208h</option> <option
    value="kpauar00214d">kpauar00214d</option> <option
    value="kpauar00214h">kpauar00214h</option> <option
    value="kpauar00237d">kpauar00237d</option> <option
    value="kpauar00237h">kpauar00237h</option> <option
    value="kpauar00355c">kpauar00355c</option> <option
    value="kpauar00355h">kpauar00355h</option> <option
    value="kpauar00405d">kpauar00405d</option> <option
    value="kpauar00407c">kpauar00407c</option> <option
    value="kpauar00407h">kpauar00407h</option> <option
    value="kpauar00484d">kpauar00484d</option> <option
    value="kpauar00484h">kpauar00484h</option></select></td>
    mbuess, Oct 25, 2004
    #1
    1. Advertising

  2. mbuess

    brucie Guest

    In alt.html mbuess said:

    > I would like to have 2 select forms in 1 cell on the same line, but it
    > always wraps the line.


    form{display:inline;}

    > Here the code:


    URL in future please. its much easier for people to help you.

    --


    v o i c e s
    brucie, Oct 25, 2004
    #2
    1. Advertising

  3. "mbuess" <> wrote:

    > I would like to have 2 select forms in 1 cell on the same line, but
    > it always wraps the line.


    No, forms are just block elements by default.

    > does someone know a solution?


    Make it one form, and handle the different selections in the server-side
    form handler.

    > <td nowrap><form name="selectprintserver" method="post"
    > action="index.php?page=user&action=newentry&user=edsbuess"> <select
    > name="newPrintserver" onchange="document.selectprintserver.submit()">


    You have managed to create a form that can never be submitted (there is
    no submit button), unless the user ignores the advice from security
    specialistis and authorities and keeps JavaScript enabled.

    Try again. Rebuild the page starting from the assumption that JavaScript
    may be disabled, unsupported, or filtered out by a firewall. Don't use
    more forms than needed

    > <option></option>


    What's that supposed to mean?

    > <option value="kdprsp001" >kdprsp001</option>


    Not my idea of user-friendlyness. Surely the consonant cluster could be
    replaced by some descriptive name (in the <option> content, which is what
    the user hears or sees).

    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
    Jukka K. Korpela, Oct 25, 2004
    #3
  4. Make a table in the cell !!

    example:


    <td nowrap>

    <table border=0><tr><td valign=top>


    <form name="selectprintserver" method="post"
    action="index.php?page=user&action=newentry&user=edsbuess"> <select
    name="newPrintserver" onchange="document.selectprintserver.submit()">
    <option></option> <option value="kdprsp001" >kdprsp001</option> <option
    value="kfauar001" selected>kfauar001</option> <option value="kfbfbb001"
    >kfbfbb001</option> <option value="kfbisd002" >kfbisd002</option> <option

    value="kfbobb001" >kfbobb001</option> <option value="kfflfs001"
    >kfflfs001</option> <option value="kflagy001" >kflagy001</option> <option

    value="kfligs001" >kfligs001</option> <option value="kfligs005"
    >kfligs005</option> <option value="kfligs006" >kfligs006</option> <option

    value="kfligy001" >kfligy001</option> <option value="kfmsbg001"
    >kfmsbg001</option> <option value="kfmsgy001" >kfmsgy001</option> <option

    value="kfmubz001" >kfmubz001</option> <option value="kfowgy001"
    >kfowgy001</option> <option value="kfprgb001" >kfprgb001</option> </select>

    <input type="Hidden" name="newResourceTyp" value="2"></form>

    </td><td valign=top>

    <form name="selectprintqueue" method="post"
    action="index.php?page=user&user=edsbuess">

    <select name="newPrintQueue">
    <option value="kpauar00090d">kpauar00090d</option> <option
    value="kpauar00090h">kpauar00090h</option> <option
    value="kpauar00101d">kpauar00101d</option> <option
    value="kpauar00101h">kpauar00101h</option> <option
    value="kpauar00140d">kpauar00140d</option> <option
    value="kpauar00140h">kpauar00140h</option> <option
    value="kpauar00207d">kpauar00207d</option> <option
    value="kpauar00207h">kpauar00207h</option> <option
    value="kpauar00208d">kpauar00208d</option> <option
    value="kpauar00208h">kpauar00208h</option> <option
    value="kpauar00214d">kpauar00214d</option> <option
    value="kpauar00214h">kpauar00214h</option> <option
    value="kpauar00237d">kpauar00237d</option> <option
    value="kpauar00237h">kpauar00237h</option> <option
    value="kpauar00355c">kpauar00355c</option> <option
    value="kpauar00355h">kpauar00355h</option> <option
    value="kpauar00405d">kpauar00405d</option> <option
    value="kpauar00407c">kpauar00407c</option> <option
    value="kpauar00407h">kpauar00407h</option> <option
    value="kpauar00484d">kpauar00484d</option> <option
    value="kpauar00484h">kpauar00484h</option></select>

    </td></tr></table>


    </td>












    "mbuess" <> schreef in bericht news:clijdi$e4t$...
    > Hi there
    >
    > I would like to have 2 select forms in 1 cell on the same line, but it
    > always wraps the line.
    >
    > It's because of the form tag, this i know, does someone know a solution?
    >
    > Thanks for the answers.
    >
    > Here the code:
    >
    > <td nowrap><form name="selectprintserver" method="post"
    > action="index.php?page=user&action=newentry&user=edsbuess"> <select
    > name="newPrintserver" onchange="document.selectprintserver.submit()">
    > <option></option> <option value="kdprsp001" >kdprsp001</option> <option
    > value="kfauar001" selected>kfauar001</option> <option value="kfbfbb001"
    >>kfbfbb001</option> <option value="kfbisd002" >kfbisd002</option> <option

    > value="kfbobb001" >kfbobb001</option> <option value="kfflfs001"
    >>kfflfs001</option> <option value="kflagy001" >kflagy001</option> <option

    > value="kfligs001" >kfligs001</option> <option value="kfligs005"
    >>kfligs005</option> <option value="kfligs006" >kfligs006</option> <option

    > value="kfligy001" >kfligy001</option> <option value="kfmsbg001"
    >>kfmsbg001</option> <option value="kfmsgy001" >kfmsgy001</option> <option

    > value="kfmubz001" >kfmubz001</option> <option value="kfowgy001"
    >>kfowgy001</option> <option value="kfprgb001" >kfprgb001</option>
    >></select>

    > <input type="Hidden" name="newResourceTyp" value="2"></form><form
    > name="selectprintqueue" method="post"
    > action="index.php?page=user&user=edsbuess"> <select name="newPrintQueue">
    > <option value="kpauar00090d">kpauar00090d</option> <option
    > value="kpauar00090h">kpauar00090h</option> <option
    > value="kpauar00101d">kpauar00101d</option> <option
    > value="kpauar00101h">kpauar00101h</option> <option
    > value="kpauar00140d">kpauar00140d</option> <option
    > value="kpauar00140h">kpauar00140h</option> <option
    > value="kpauar00207d">kpauar00207d</option> <option
    > value="kpauar00207h">kpauar00207h</option> <option
    > value="kpauar00208d">kpauar00208d</option> <option
    > value="kpauar00208h">kpauar00208h</option> <option
    > value="kpauar00214d">kpauar00214d</option> <option
    > value="kpauar00214h">kpauar00214h</option> <option
    > value="kpauar00237d">kpauar00237d</option> <option
    > value="kpauar00237h">kpauar00237h</option> <option
    > value="kpauar00355c">kpauar00355c</option> <option
    > value="kpauar00355h">kpauar00355h</option> <option
    > value="kpauar00405d">kpauar00405d</option> <option
    > value="kpauar00407c">kpauar00407c</option> <option
    > value="kpauar00407h">kpauar00407h</option> <option
    > value="kpauar00484d">kpauar00484d</option> <option
    > value="kpauar00484h">kpauar00484h</option></select></td>
    >
    >
    Nicolai Admiraal, Oct 26, 2004
    #4
    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. GregG
    Replies:
    0
    Views:
    5,590
    GregG
    Mar 16, 2006
  2. Aaron Fude

    To wrap or not to wrap?

    Aaron Fude, May 8, 2008, in forum: Java
    Replies:
    12
    Views:
    680
    Chronic Philharmonic
    May 10, 2008
  3. Empire City
    Replies:
    3
    Views:
    387
    Empire City
    Apr 30, 2004
  4. Art Werschulz

    Text::Wrap::wrap difference

    Art Werschulz, Sep 22, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    215
    Art Werschulz
    Sep 22, 2003
  5. Art Werschulz

    Text::Wrap::wrap difference

    Art Werschulz, Sep 24, 2003, in forum: Perl Misc
    Replies:
    1
    Views:
    230
    Anno Siegel
    Sep 25, 2003
Loading...

Share This Page