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: 1585
Discussions: 200,951, Posts: 2,379,471, Members: 246,313
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,385
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
The disrespect of Obama by Russian .. (39)
Is It Just Me? (2942)
Making Health Care Worse (178)
Wireless Televisions. (12)
CPU fan stops spinning randomly (8)
windows 7 problem (7)
Regular Build (11)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (6)
Print spooler problem (15)
windows vista security holes (10)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Foreign voltage (10)
Recent Discussions
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Modern Warfare 2: Who Bought It? (63)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Laptop with wireless problem. (3)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
windows vista security holes (10)
Point and Shoot Camera Suggestions. (4)
Multiple Restarts Required at Boot (2)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)
How to convert MP3's (4)
Wireless Televisions. (12)
Hp Artist Edition + Matching Bag (0)
Asus P4G8X Mobo (6)
Xbox 360 GTA: SA disk error (1)
Is the PSU I received dead? (12)
windows 7 internet problem (5)
BSOD On Startup (ntoskrnl.exe) (2)
Print spooler problem (15)


All times are GMT -4. The time now is 01:45 AM.
TechIMO Copyright 2009 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