Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

Comment on Submit button/Textbox size
Select or Download Code
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.
Re: Submit button/Textbox size
by ww (Bishop) 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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://828326]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-07-25 02:38 GMT
Find Nodes?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:

    Results (167 votes), past polls