IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Text Size In "fill-in" Form Blanks

, How do you change the size of the text in the fill in form entry boxes


tomt491
no avatar
Newbie
*
Group: Members
Posts: 4
Joined: 1-September 08
Member No.: 67,198



Post #1 post Sep 3 2008, 03:31 AM
Thanks for all the help on my previous question about adding an address to a "Submit" button. I've also been able to add a "print page" button through the help from group members. I now have another question.

I've created a form using the Input commands that ask for name, address, state, etc. My computer is set to use 12 point text on a 800 x 600 screen resolution. When I hit the print screen button, everything is printed out fine, but I would like the information that people will be entering into the various boxes to be of a larger or bolder style. The whole reason for the print screen with filled in blanks is to make it easier for the Registrar of an upcoming meeting to receive registration forms that are easy to read and don't have terrible hand writing on them.

Is it possible to change the size of the requested information with the addition of HTML coding? If so, can any of you point me in the right direction.

Thanks in advance for any help.

Tom T.
Go to the top of the page
+Quote Post
jlhaslip
no avatar
<?php $answer = googleit( $question ) ; ?>
*******************
Group: [MODERATOR]
Posts: 4,433
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:74.00



Post #2 post Sep 3 2008, 04:53 AM
Assuming that you have the following html code:

CODE
<div id="input5">
    <label for="comments">Comments:</label>
    <textarea id="comments" rows="5" cols="30"></textarea>

  </div>
and the following CSS will increase the font-size:
CODE
#comment {font-size: 1.5em; } // or pixel size?


We would need to see the actual form code you have, prefer a link to the page, but the html and css code will work.
Using the sample above, notice the id="comments" for the textarea id? that is how I have targetted the CSS to find the correct spot to increase the size.
Go to the top of the page
+Quote Post
tomt491
no avatar
Newbie
*
Group: Members
Posts: 4
Joined: 1-September 08
Member No.: 67,198



Post #3 post Sep 3 2008, 06:20 AM
Folks,

After posting my question about changing the size of the text that is added to the Input lines, I did some Google.com searching and came up with the following entries to add to my Styles listings. They seem to work great.

<style>
input {font-size:10pt}
input {font-weight: 600}
input {font-family: Arial, Helvetica, sans-serif}
</style>

Thanks for all the comments and help.

Tom T.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   4 noxit 577 19th June 2004 - 05:45 PM
Last post by: OpaQue
No new   34 the blonde girl 3,206 18th May 2007 - 02:44 AM
Last post by: Mermaid711
No New Posts 1 websey 133 11th December 2008 - 05:22 PM
Last post by: rvalkass
No New Posts   1 groentjuh 435 2nd August 2004 - 06:13 PM
Last post by: OpaQue
No New Posts   3 Plenoptic 578 17th July 2006 - 12:06 PM
Last post by: Plenoptic
No New Posts   6 LuciferStar 779 7th November 2004 - 12:40 PM
Last post by: eldeo
No New Posts   4 nutkitten 417 11th October 2008 - 04:33 AM
Last post by: sheepdog
No New Posts   6 Dagoth Nereviar 1,161 11th March 2007 - 11:38 PM
Last post by: jlhaslip
No New Posts 2 ronelm2000 530 8th October 2007 - 10:29 AM
Last post by: ronelm2000
No New Posts   2 FallenSage 544 18th July 2006 - 05:28 AM
Last post by: FallenSage
No New Posts   0 Vacant 746 18th August 2004 - 09:57 PM
Last post by: Vacant
No New Posts   4 kudmus 322 6th January 2009 - 08:07 AM
Last post by: kudmus
No New Posts   13 DataHead 1,344 21st October 2004 - 11:40 PM
Last post by: alapidus
No New Posts   3 Triple X 468 18th December 2008 - 10:52 PM
Last post by: minimcmonkey
No New Posts   1 clouds421 344 26th September 2004 - 11:40 AM
Last post by: wassie


 



RSS Open Discussion Time is now: 8th January 2009 - 05:10 PM