Loading...
 
Skip to main content

Features / Usability


Buttons style

posts: 179 France

Is there a way I can customize input buttons without customizing input text?

I don't want to add a class for buttons in each template.


Such a horrible torture we don't have a layout forum here....

posts: 4664 Japan

What do you mean by "input buttons"?

-- Gary


posts: 157 United States

If what you mean is, for example, submit form buttons, you can style those in the .css for each theme. For example I have this in one of my stylesheets (.css):

/**** FORMS ****/

FORM {
margin : 0px;
padding : 0px;
}
input, textarea, select {
color : #000000;
background: #E4E7EA;
font: normal 10px Verdana, Arial, Helvetica, sans-serif;
border : 1px solid #cccccc;
}
input {
text-indent : 2px;
margin : 0px;
padding : 0px;
}
inputtype=checkbox, inputtype=radio {
border : 0px;
}
inputtype=submit {
border : 1px solid #46596f;
background-color: #bcd;
font-weight : normal;
}
inputtype=submit:hover {
background-color : #FFFFFF;
cursor : pointer;
}
textarea {
border : 1px solid #cccccc;
width: 100%;
}
label {
cursor : pointer;
}