PDA

Click to See Complete Forum and Search --> : how to do..


Sacofjoea
Jun 2nd, 2002, 09:03 PM
Hey how can I create a submit button similiar to the following picture in HTML..

-sac

cpradio
Jun 2nd, 2002, 09:33 PM
<input type="submit" name="submit" style="background:#336699;font-family:Verdana,Arial,Heltivica;font-weight:bold;color:#FFFFFF;font-size:10px;" value="Subscribe">

Sacofjoea
Jun 2nd, 2002, 09:40 PM
danke :)

Rick Bull
Jun 3rd, 2002, 07:47 AM
Also you shold put:

,sans-serif

after Heltivica in case the user doesn't have any of those fonts.

Sastraxi
Jun 4th, 2002, 11:13 PM
Don't worry, they're all standard (except maybe Helvetica, and some weird comps that don't have Verdana). Or, maybe they might view it on Mac or Linux. I see your point, I'll shutup now...

Rick Bull
Jun 5th, 2002, 06:30 AM
Hehe :p I only said it really because it won't validate without it, and like you say maybe Linux doesn't have those fonts, I'm not sure.

msimmons
Jun 5th, 2002, 09:20 AM
I notice in other posts mention of 'validate' where does one go to 'validate' code?
Thanks
Michael

Rick Bull
Jun 5th, 2002, 09:23 AM
For HTML you can use the W3C's one @ http://validator.w3.org/ and http://validator.w3.org/file-upload.html to upload from your HDD. For CSS you can use http://jigsaw.w3.org/css-validator/ (I think you can only validate external style sheets, not within HTML documents.

msimmons
Jun 5th, 2002, 10:00 AM
thanks :)