Here's the full code I was using.
print $q->header(-type=>'text/html'), $q->start_html( -title=>'User Setup', -bgcolor=>'#ffffff', -onLoad=>'Javascript:document.houst.userid.select()'), $q->start_form( -name=>'houst', -method=>'post', -action=>$me), $q->table( { -align=>'center', -border=>0, -width=>400, -cellspacing=>10 }, $q->Tr( [ $q->td( { -align=>'center'}, [ $q->font({-face=>'arial', -size=>'+2'}, $q->b('U +ser Setup'))]), $q->td( { -align=>'center'}, [ $q->hr]), $q->td( [ $q->textfield(-name=>'userid', -size=>'42', +-default=>'') ]), $q->td( [ $q->popup_menu(-name =>'server_instance', -values =>['cash_fidev','cash_sbltest'], + # this is the actual argument passed to the server -labels =>{cash_fidev => 'Dev', cash_sb +ltest => 'Test'}) ]), # this is the corisponding label on the webp +age $q->td( [ $q->submit (-value=>'Submit') . ' ' . $q->re +set ] ), # here's where I changed the concantation. $q->td( [ $q->font ({-face=>'arial', -size=>'+1'}, $q- +>b('Output:'))]), $q->td( { -bgcolor=>'#cccccc' }, [ "display" ]), ]) ), $q->end_form, $q->end_html;
Not sure if you only print out a single table cell with out anything else if it behaves differently??

In reply to Re: Re: Re: Re: CGI question by bkiahg
in thread CGI question by bkiahg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.