Create Responsive button with vertical-align center - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button layout

Description

Create Responsive button with vertical-align center

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

div{width:200px;background:red;}


      </style> 
 </head> <!--from w  ww . j a  v a2  s .  c  o m-->
 <body> 
  <div class="col-xs-20 button_link" style="height: 50px; display: table;"> 
   <div id="play_title" style="display: table-cell; vertical-align: middle; text-align:center;">
     PLAY THE MOVIE 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials