This topic is locked

How to change the colours on a button

12/17/2009 8:02:38 AM
ASPRunnerPro General questions
Stu author

I want my custome buttons to stand out with a different background and font.
Here is an example of a standard button HTML:-
<INPUT class=button type=button value=Search {$searchbutton_attrs}>
What can I add to this attribute string to change its colours?
I know about xt.assign statements Before Display so are there strings I could set against my custome buttons? If so an example please.
Also, if I wanted to adjust the CSS affecting ALL my buttons which entry in which css file would I change?
Regards,
Stu

J
Jane 12/18/2009

Hi,
style rules for buttons are in the style.css file:

INPUT.button,

INPUT.buttonM

{

background: url("img/grad_button.gif") center repeat top;

border: 1px solid #BDBAB5;

color: #336699;

font-family: Tahoma, Verdana, Arial, SunSans-Regular, Sans-Serif;

font-size: 11px;

cursor: pointer;

WIDTH: auto;

}



You can change it manually in this file. Also you can create two or more styles for the buttons and use in on the Visual Editor tab,