Create login panel with table - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table

Description

Create login panel with table

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">
.login_box {<!--from w ww  .  j  ava2 s .com-->
   position:absolute;
   top:51%;
   left:51%;
   transform:translate(-51%,-51%);
   border:2px solid Chartreuse;
   background:yellow;
   font-family:Arial, Helvetica, sans-serif;
   color:blue;
   border-bottom-left-radius:2em;
   border-bottom-right-radius:2em;
   border-top-left-radius:2em;
   border-top-right-radius:2em;
   padding:0.3em 0.6em;
}

.login_box tr td {
   padding:2em;
}
</style> 
 </head> 
 <body> 
  <div class="box" id="login"> 
   <div class="login_box"> 
    <form method="post" action="index.php"> 
     <table> 
      <tbody> 
       <tr> 
        <td>Lorem ips</td> 
        <td> <input class="textbox" type="text" name="username"> </td> 
       </tr> 
       <tr> 
        <td>Lorem ips</td> 
        <td> <input class="textbox" type="password" name="password"> </td> 
       </tr> 
       <tr> 
        <td colspan="2" align="center"> <input class="btn" type="submit" name="login_button" value="LOGIN"> </td> 
       </tr> 
      </tbody> 
     </table> 
    </form> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials