HTML CSS examples for CSS Form:input button layout
Styling the button size
<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>