home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

changing text in text boxes

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1388
Discussions: 200,507, Posts: 2,374,395, Members: 245,831
Old March 19th, 2003, 04:29 PM   Digg it!   #1 (permalink)
Member
 
Carl-cox-'s Avatar
 
Join Date: Nov 2002
Location: Kent England
Posts: 395
changing text in text boxes

rite i have made this site www.motoliner.com/contact it has a webform. i want to change the font and colour inside these boxes. atm i think tehy look rather dull and interesting. i have found an example of what i want Here. I have tried looking at teh sourse but its whay to confusing. I think its something to do with CSS but i have no knowlege of this so some code would be helpful.

Thanks for ya help ppl
Carl-cox- is offline   Reply With Quote
Old March 19th, 2003, 05:08 PM     #2 (permalink)
Go back to sleep
 
Creatures's Avatar
 
Join Date: Jul 2002
Location: Switzerland
Posts: 7,360
Send a message via ICQ to Creatures
i found this here:

<input name="mailbox" type="text" size="10" class="orangeBold" />

and i think the class is a css maybe some one else can explain this

Creatures
__________________
Canon EOS 450D | Canon EF-S 18-55mm 1:3.5-5.6 IS | Canon EF-S 55-250mm 1:4-5.6 IS | Canon Speedlite 430EX II
Creatures is offline   Reply With Quote
Old March 20th, 2003, 12:32 AM     #3 (permalink)
Member
 
baron's Avatar
 
Join Date: Feb 2003
Location: MI
Posts: 56
Send a message via ICQ to baron Send a message via AIM to baron Send a message via Yahoo to baron
Yes, the class= is a call to a font class declared in a css file, either linked or inline. You can declare font classes in the head of your page using:

<style type="text/css">
INPUT {FONT-FAMILY: geneva,arial,Verdana,Helvetica; FONT-SIZE: 10px; COLOR: #000000}
</style>

You can also define different classes that allow different fonts and styles for your input boxes by using
.classname {FONT-FAMILY: geneva,arial,Verdana,Helvetica; FONT-SIZE: 10px; COLOR: #000000}
in your style.

Hope that makes sense...

Baron
baron is offline   Reply With Quote
Old March 20th, 2003, 02:57 PM     #4 (permalink)
Member
 
Carl-cox-'s Avatar
 
Join Date: Nov 2002
Location: Kent England
Posts: 395
i got it to work thanks but what do i input to make the text bold :BOLD = True or something ??

no worries i found it

font-weight: bold;
__________________
http://www.coxeh.com
Carl-cox- is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (1635)
FT HOOD attack: 7 killed 12 injured (66)
Review My Build (5)
HELP!!! What do you think of this s.. (16)
Looking for a graphic card that wil.. (30)
Assosiations (21496)
My 1st pc build (40)
Aero in Vista (7)
PC Modern Warfare 2: it's much wors.. (12)
core i7 extreme 975, nvidia 9400gt (9)
How to Ship a PC (16)
Building my first computer (13)
slaving laptop drive (7)
[F@H SPAM 11/1/09]New month . . . n.. (33)
Recent Discussions
how to convert mod to wmv/avi/mp4/mov.. (0)
FAT32 to NTFS file system in Win2kpro (3)
Motherboards and my curse... (25)
Review My Build (5)
HELP!!! What do you think of this sys.. (16)
New Processor, Monitor will not turn .. (2)
2009 Build (4)
Internet very slow since updating AVG.. (7)
My 1st pc build (40)
Freezing During Music/Movies (1)
Windows Experience Index is screwed u.. (2)
ext. sound card laptop to stereo syst.. (2)
Remote Desktop via SSH and error mess.. (2)
Help and Support disappeared from my .. (0)
[F@H SPAM 11/1/09]New month . . . new.. (33)
Basic applications needed for "r.. (1)
core i7 extreme 975, nvidia 9400gt (9)
hard drive problem (2)
Win7 TrustedInstaller Permissions (2)
Speed up Win 7 boot time a bit (1)
Hard Drive test program (2)
wireless westell versalink model 327w (1)
New build 10 second reboot cycle! Won.. (3)
New Linksys Routers (2)
sometime power/Amber light (0)


All times are GMT -4. The time now is 04:28 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28