HTML CSS examples for CSS Form:input button style
Html/css, make a button look like a div
<html> <head> <style> .button {<!--from ww w. ja v a 2 s . co m--> background-color: white; /* button background */ color: black; /* label colour */ border: 2px solid #0040ff; /* 2px blue line border */ padding: 10px 20px; border-radius: 10px; /* rounded corner style */ } </style> </head> <body> <h2>A styled button.</h2> <button class="button">Button label</button> </body> </html>