h1 padding: 20px 0 0 0; : Header padding « Tags « HTML / CSS






h1 padding: 20px 0 0 0;

   
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>*KHAKI*</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style rel="stylesheet" type="text/css">

 h1 {
  padding: 20px 0 0 0;
  font: normal 1.4em verdana, tahoma, arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #acaf2c;
  background: inherit;
  text-align: center;
}

</style>

</head>
<body>
  <div id="banner">
    <h1> Company Name</h1>
  </div>

</body>
</html>

   
    
    
  








Related examples in the same category

1.h2 padding: 0;
2.h2 padding: 0.5em 0 0.5em 0;
3.H1 padding: 0 0 3px 0;
4.h1 padding: 5px 5px 0 0;
5.H1 padding: 25px;
6.H4 padding:10px 0 2px 15px;
7.h2 padding: 5px;