input box types

.my_form_class input[type=text] {
.my_form_class input[type=number] {
.my_form_class input[type=date] {

Input boxes

Basic Styling

input {
	padding: 2px;
	margin: 0px;
Specific Boxes

  <label>User Name:</label><input type="text" name="user_name_login" size="12" />
  <label>Password:</label><input type="password" name="password_login" size="12" /></li>

input[type="text"] {
	border: 1px solid #000;

input[type="password"] {
	border: 1px solid #000;

input type=”submit”

  <form action="/" method="POST">  

    <input type="submit" class="button_delete" value="Delete">
/*----- 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;
UK Electronic Designer
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.


Your email address will not be published.