HTML CSS examples for CSS Form:input button text
HTML CSS button text alignment
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> button {<!--from w w w . j av a2s. co m--> display:inline; float: right; clear: both; padding: 0 5px 5px 5px; text-align: left; margin: 0 0 10px 0; border: none; background: url('https://www.java2s.com/style/demo/InternetExplorer.png') no-repeat 0 -28px rgba(0,0,0,.09); font-size: 14px; height: 28px; text-align: right; width: 250px; } </style> </head> <body> <button class="">this is a test this is a test</button> </body> </html>