Thanks for the suggestion. We decided to leave the button elements un-styled so they would just inherit the default browser button styles, or any the user might already have in place in the theme.
We have discussed offering some additional styling options or form 'skins' if you will, but haven't implemented any of that to date.
For now, here's the styles we used on the forum buttons. You can grab the background image for the button here
input[type=submit], input[type=button] {
background-color: #b1b1b1;
border: 1px none #707070;
color: #636363;
font-weight:bold;
text-shadow: 0px 1px 1px #fff;
background-image:url(images/buttonbg.png);
background-repeat:repeat-x;
background-position:bottom;
padding: 3px 4px;
line-height: 14px;
font-size: 13px;
margin: 0;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
You'll want to make sure the image path is correct for your application and you can format the CSS to your preference.
Also, in case you're not aware of it, you can also create a form button graphic and apply it directly via the form settings in the admin.
screenshot: form image button settings
Posted 15 years ago on Tuesday October 20, 2009 |
Permalink