Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > 2 select forms in 1 cell without line wrap

Reply
Thread Tools

2 select forms in 1 cell without line wrap

 
 
mbuess
Guest
Posts: n/a
 
      10-25-2004
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=e dsbuess"> <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>


 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      10-25-2004
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
 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      10-25-2004
"mbuess" <(E-Mail Removed)> 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=e dsbuess"> <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


 
Reply With Quote
 
Nicolai Admiraal
Guest
Posts: n/a
 
      10-26-2004
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=e dsbuess"> <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" <(E-Mail Removed)> schreef in bericht news:clijdi$e4t$(E-Mail Removed)...
> 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=e dsbuess"> <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>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
To wrap or not to wrap? Aaron Fude Java 12 05-10-2008 06:33 PM
Wrap computer components in bubble wrap? Ickshka Computer Support 7 05-05-2006 05:54 PM
RadioButtonList In A DataGrid Cell - Can I find the selected button without editing the cell? Empire City ASP .Net Datagrid Control 3 04-30-2004 12:19 AM
Text::Wrap::wrap difference Art Werschulz Perl Misc 1 09-25-2003 06:15 PM
Text::Wrap::wrap difference Art Werschulz Perl Misc 0 09-22-2003 02:36 PM



Advertisments