Move the input button to the right in its container - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button

Description

Move the input button to the right in its container

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

table{background:red}
input{float:right}


      </style> 
 </head> <!--   ww  w  .j  a va2s . co  m-->
 <body> 
  <table width="400"> 
   <tbody> 
    <tr> 
     <td> ...... </td> 
    </tr> 
    <tr> 
     <td> <input type="submit" value="Add Log"> </td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials