Click to See Complete Forum and Search --> : link buttons


quisie
07-05-2003, 06:01 AM
Hi All, I need some help here please :)
I've got a link button ( <FORM METHOD="LINK" ACTION="index.html">
<INPUT TYPE="submit" VALUE="Click Me">
</FORM> ) which is fine, no problems there .......... but ........ it's a boring white colour :(
I'd really like to make it blend in with the page i want it on by changing colour scheme ...... and i've tried all i know (ok, so that didn't take too long :eek: lol)
Could someone please help me colour my buttons
thanks

David Harrison
07-05-2003, 06:11 AM
There's a couple of ways you could do this, if you want to change the color of each button individually, do this:

<input type="button" value="Hi!" style="background-color:#000000;color:#ffffff;">

where color is the text-color.


but if you want to change all of them at once have this for your button source's:

<input type="button" value="Hi!" class="button">

and in the head have this:

<style type="text/css"><!--

input.button{background-color:#000000;color:#ffffff;}

--></style>

quisie
07-05-2003, 06:26 AM
many, many thanks lavalamp ...... it works a treat now, all i need to do is settle on the colours i want now ;)
guess i'll be spending the afternoon playing now lol

David Harrison
07-05-2003, 06:38 AM
Happy to help.:)