Page 1 of 1

Button Colours (CSS perhaps)?

Posted: Fri Jun 18, 2004 11:31 am
by Joe
I had an idea of making a user search on my site and all is working great but I want an html submit button with the colour #E1E1E1. I personaly think CSS would do the job but I am not familiar with the language at all. Can anyone please lead me in the right direction or perhaps supply me with a code snippet on how to do this?

Thanks



Joe 8)

Posted: Fri Jun 18, 2004 11:35 am
by feyd

Code: Select all

<html>
<style type="text/css">
input.sub &#123; background-color: #E1E1E1; &#125;
</style>
<body>
<form><input class="sub" type="submit" value=" Joe's Submit " /></form>
</body>
</html>

Posted: Fri Jun 18, 2004 11:39 am
by Joe
Thanks a lot feyd! Worked a treat ;)