Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Submit button/Textbox size

by sanPerl (Friar)
on Mar 12, 2010 at 16:07 UTC ( #828326=perlquestion: print w/replies, xml ) Need Help??
sanPerl has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,
I am new to CGI scripting. up till now I am using Perl only for desktop related applications. My query goes as follows.
I am using following code in my CGI basic script. I want to increase size (length / width) of the SUBMIT button and Textbox. I would welcome any clues/tutorials/direct answers here.
print start_html('SEARCH'), start_form, "Search Terms ",textfield('search'), p, submit, end_form, hr;

I guess I need to elaborate a little bit more on my question so that I can get better answers rather than asking to read some the entire book on CGI, which I have already read
Updated Question:
The submit button parameters shows
print submit(-name=>'button_name', -value=>'value');
We can very well see that we can Not modify size of the button, Any more ideas, clues please?

Replies are listed 'Best First'.
Re: Submit button/Textbox size
by ww (Archbishop) on Mar 12, 2010 at 18:01 UTC
    You'll have to read fairly far down in perldoc CGI... to find the section-header "CREATING FILL-OUT FORMS:" ... but the text above will be well worth your time.
Re: Submit button/Textbox size
by affc (Scribe) on Mar 12, 2010 at 17:01 UTC
    CGI shows you the options you need to include.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://828326]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2018-04-25 05:26 GMT
Find Nodes?
    Voting Booth?