Skip to content

Instantly share code, notes, and snippets.

@while0pass
Created August 25, 2010 20:57
Show Gist options
  • Save while0pass/550279 to your computer and use it in GitHub Desktop.
Save while0pass/550279 to your computer and use it in GitHub Desktop.
Красивая кнопочка формы, одинаковая во всех браузерах.
/* from http://www.appcelerator.com/ */
.cform input.sendbutton {
width: 100px;
padding: 2px;
margin: 10px 3px 0;
font-size: 0.8em;
background: url(http://www.appcelerator.com/wp-content/plugins/cforms/images/button-bg.gif) repeat-x;
border: 1px solid #adadad!important;
border-left-color: #ececec!important;
border-top-color: #ececec!important;
}
/* html
<input type="submit"
name="sendbutton" id="sendbutton"
class="sendbutton"
value="Отправить"
onclick="return cforms_validate('', true)" />
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment