link buttons

admin

Administrator
Staff member
Hi All, I need some help here please :) <br />
I've got a link button ( <FORM METHOD="LINK" ACTION="index.html"><br />
<INPUT TYPE="submit" VALUE="Click Me"><br />
</FORM> ) which is fine, no problems there .......... but ........ it's a boring white colour :( <br />
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)<br />
Could someone please help me colour my buttons <br />
thanks<!--content-->There's a couple of ways you could do this, if you want to change the color of each button individually, do this:<br />
<br />
<input type="button" value="Hi!" style="background-color:#000000;color:#ffffff;"><br />
<br />
where color is the text-color.<br />
<br />
<br />
but if you want to change all of them at once have this for your button source's:<br />
<br />
<input type="button" value="Hi!" class="button"><br />
<br />
and in the head have this:<br />
<br />
<style type="text/css"><!--<br />
<br />
input.button{background-color:#000000;color:#ffffff;}<br />
<br />
--></style><!--content-->many, many thanks lavalamp ...... it works a treat now, all i need to do is settle on the colours i want now ;) <br />
guess i'll be spending the afternoon playing now lol<!--content-->Happy to help.:)<!--content-->
 
Back
Top