Align <button> inline with text - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button

Description

Align <button> inline with text

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">

h3, button{<!--from w w  w  . j a v a2  s  .  co m-->
   float: left;
   margin: 0;
}


      </style> 
 </head> 
 <body> 
  <h3>Some</h3> 
  <button>Text</button> 
  <h3>!</h3>  
 </body>
</html>

Related Tutorials