Style for button submit : Button : Form Style HTML CSS TUTORIALS


HTML CSS TUTORIALS » Form Style » Button »

 

Style for button submit


 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">

.buttonSubmit {
 color: white;
 background-color: #660;
 font-size: 1.5em;
 border: 1px solid #660;
 padding: 4px;
}
</style>
</head>

 <label for="question">Who is president of the U.S.?
</label>
 <input type="text" name="question" id="textfield" value="Type answer here" /><br /> 
 <input name="reset" type="reset"  value="Reset" class="buttonReset" />
 <input type="submit" name="Submit" value="Submit" class="buttonSubmit" />
</form>

</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Form Style
» Button