Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Change font colors and font face in input type
Old 10-14-2005, 10:55 AM Change font colors and font face in input type
darrelld's Avatar
Novice Talker

Posts: 6
Location: Arnold, Missouri. USA
Trades: 0
Hello Webmasters:
I would like to know how to change font colors and font face in input type of the text field and also the submit button? This is what I have so far.

<input type="text" name="q" size="40" maxlength="255" value="" style="background-color:#afd3ff;">
<input type="submit" name="sa" value="Search" style="background-color:#afd3ff;">

So far I have have the input field color I want & the button color now all thats needed is the text.
__________________
DefaultUser of
Please login or register to view this content. Registration is FREE

Darrell's Designs.Com
Please login or register to view this content. Registration is FREE

Webmasters Design & Graphics
Please login or register to view this content. Registration is FREE
darrelld is offline
Reply With Quote
View Public Profile Visit darrelld's homepage!
 
 
Register now for full access!
Old 10-14-2005, 11:09 AM
King Spam Talker

Posts: 1,186
Location: Manchester, UK
Trades: 0
HTML Code:
input {
font-family:  verdana, "Trebuchet MS", Arial, Helvetica, sans-serif;
}
thats the css
gringo is offline
Reply With Quote
View Public Profile Visit gringo's homepage!
 
Old 10-14-2005, 12:51 PM
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
You can also change the colour of the input field. Your overall input CSS should look like this:
Code:
input {
         background-color: #afd3ff;
         color: #000000;
         font-family: "Trebuchet MS", Arial, Helvetica, Verdana, sans-serif;
         font-size: 10px;
}
I don't think the length can be changed (the width of it can, but I don't know about characters). To change the width, add wdith: ???px; to the CSS. You don't need to add any style tags.

And it looks as though you are trying to format a Google search form.
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Reply     « Reply to Change font colors and font face in input type
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11446 seconds with 12 queries