Web Hosting Talk







View Full Version : Color Submit Buttons?


Vortech
05-17-2001, 04:45 PM
Ok i have seen this before and got the code but some how i lost it and can't seem to find it now.

What i need is the submit button to be a diff. color and not the default gray. I know there is some easy html or some thing to do this i just can't find it now.

The one i had let you set 6 things small out line boards 4 of them one fore each side back ground color and the text in the button.

There is also a way to do this to text boxs so you can make the text a different color and the back ground and things different.

If any ones knows a site i can find this or have please post it please.. Thanks :D

alpha
05-17-2001, 05:06 PM
put this in your CSS


input {BACKGROUND-COLOR: #222222; COLOR: #dddddd}

Duster
05-17-2001, 06:00 PM
You've got your answer already. You might want to bookmark this site. it contains the answer to your question and a few other things that stylesheets can do.

http://htmlgoodies.earthweb.com/beyond/css.html

Vortech
05-17-2001, 08:23 PM
Not CSS the one i am looking for was all done in HTML from what i could tell. It was very simple it was on a site i saw on here but can't seem to find it now.

alpha
05-17-2001, 08:28 PM
Originally posted by Vortech
Not CSS the one i am looking for was all done in HTML from what i could tell. It was very simple it was on a site i saw on here but can't seem to find it now.

not css?
hmmm... i've never seen an html document where properties of elements can be changed without the manipulation of styles...

styles/css can be implemented multiple ways...

1) the usual CSS file aka <LINK REL=...blahblah...>
2) <style></style> tag

or

3) changing individual html elements... like


<input type="text" name="domain" size=30 style="your styles here">


----------------------------

lol, if there are any other ways... then let me know, i want to know! :)

Lonewolf
06-13-2001, 07:02 PM
Well here i come to save the day :P i was just fooliong around and i came up with these... have a look and buture the sorce if you want :) just show me how your using them :D http://24.69.196.75/color.html
its on my crappy home webserver so be patient if it dont load the first time :P

klisis
06-13-2001, 07:32 PM
I got your answer.

here's the code.

<input type="submit" value="" name="submit" style="background-color:#495A90;color:#FFFFFF;font-size:12px;font-weight:normal">

Lonewolf
06-13-2001, 07:33 PM
Thats what i just posted