HTML CSS examples for CSS Form:input button layout
Html css button horizontal alignment
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #welcome-screen {<!--from w w w . jav a 2 s. c o m--> width: 320px; margin: 0 auto; text-align: center; display:inline; } #welcome-screen button { margin-left:200px; color: blue; background-color: yellow; font-weight: bold; border-radius: 5px; width: 50px; } </style> </head> <body> <div id="welcome-screen"> <h2 id="welcome-title">Click on the flashcards you would like to use:</h2> <br> <br> <button id="CSS-button">CSS</button> <br> <br> <button id="HTML-button">HTML</button> </div> </body> </html>