Button styling example
.MyClass input[type="submit"] {
background-color: #007cba;
border: 1px solid #007cba;
border-radius: 3px 3px 3px 3px;
display: inline-block;
min-height: 20px;
min-width: 80px;
margin-top: 8px;
margin-right: 8px;
margin-left: 0px;
margin-bottom: 8px;
padding-top: 5px;
padding-right: 8px;
padding-left: 8px;
padding-bottom: 5px;
font-size: 16px;
font-weight: normal;
line-height: 20px;
color: #fff;
text-align: center;
text-decoration: none;
cursor: pointer;
}
.MyClass input[type="submit"]:hover {
background-color: transparent;
border-color: #333;
color: inherit;
}
Delete button with icon example
<form action="/" method="POST">
<input type="submit" class="button_delete" value="Delete">
</form>
/*----- DELETE BUTTON -----*/
.button_delete {
background-color: #a50011;
background-image: url('../divi-child/images/button_delete.png');
background-repeat: no-repeat;
background-size: 14px 18px;
background-position: 5px 4px;
border: 0px;
border-radius: 3px 3px 3px 3px;
height: 28px;
min-width: 120px;
margin-top: 0px;
margin-right: 4px;
margin-left: 0px;
margin-bottom: 8px;
padding-top: 4px;
padding-right: 6px;
padding-left: 26px;
padding-bottom: 4px;
font-size: 14px;
font-weight: normal;
line-height: 20px;
color: #fff;
text-align: center;
display: inline-block;
cursor: pointer;
}
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.