TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

change in font and font size in forms...

Page: 1 Reply
Oct 6th 2003#123634 Report
Member since: Mar 29th 2003
Posts: 1326
How do I make the text areas and drop-down boxes that have smaller text in them? Or perhaps a different font? It may be as simple as making my {input class="byusing.css"...} but I haven't tried it. Or is there something special I have to do?

tom
Reply with Quote Reply
Oct 6th 2003#123654 Report
Member since: Jul 25th 2003
Posts: 489
Heres mine

.formobject { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-style: normal; color: #ffffff; background-color: #660000; height: auto; width: auto; border: 1px #000000 solid; text-decoration: none}

and just use class="formobject"

you can customize all that stuff
Reply with Quote Reply
Oct 6th 2003#123694 Report
Member since: Mar 18th 2001
Posts: 6632
or to avoid the extra class for each thing, just use all those declarations but do


input {} instead.
Reply with Quote Reply
Oct 6th 2003#123710 Report
Member since: Jun 27th 2001
Posts: 94
nive job
Reply with Quote Reply
Oct 6th 2003#123719 Report
Member since: Mar 29th 2003
Posts: 1326
I should have just tried that but for some reason I thought it wouldn't work.

Follow-up question - how do I get it so that there is text in the box that says "name" or something but then when you click the box it dissapears. Sometimes I've even seen it so that it comes back if you don't type anything and click off of it. Anyone know?

tom
Reply with Quote Reply
Oct 6th 2003#123733 Report
Member since: Mar 18th 2001
Posts: 6632
put value="name" in the input tag.
Reply with Quote Reply
Oct 6th 2003#123734 Report
Member since: Nov 26th 2001
Posts: 2586
value="name"

You can use javascript to clear the forum values.

onfocus="clearForm();"

function clearForm() {
this.form.value="";
}


Or something like that. *I just woke up so it's probably wrong*
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum