Styling the button size - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button layout

Description

Styling the button size

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

.clicker {<!--from   w  w w.j  ava  2  s.  c o  m-->
   float: right;
   font-size:1.0em;
   color:red;
   text-align: center;
   wordwrap: center;
   text-shadow:1px 1px 1px #FFFFFF;
   width: 30.0px;
   height: 25.0px;
}


      </style> 
 </head> 
 <body> 
  <button type="button" class="clicker">X</button>  
 </body>
</html>

Related Tutorials