Click to See Complete Forum and Search --> : Custom fonts in for textboxes and buttons...


GaijinPunch
09-08-2003, 12:35 AM
I've seen on the web a lot of people have a nice, 1 pixel solid black border on their text boxes, and a custom font for their button (Tahoma, Arial, etc.)

I've been looking around, and haven't seen how to do this. I find the font on the standard button/textbox kind of hiddeous -- especially on Mozilla and non-antialias friendly Linux flavors.

I know there's some trick in Frontpage that let me do this, but I didn't take a decent enough look at the HTML tags. Is there a good tutorial out there that can show me how to do this?

Tx

Fang
09-08-2003, 02:15 AM
With CSS:
<style type="text/css">
<!--
input.withstyle {
border : 1px solid Black;
font-family : Tahoma, Arial;
}
-->
</style>

and your input tag:
<input class="withstyle" type="text" name="reply" />

GaijinPunch
09-08-2003, 03:32 AM
That is awesome.
Thank you very much -- exactly what I wanted. Just need to play w/ the padding a bit and make an image button.

Cheers!