Form control alignment without <table> - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Row

Description

Form control alignment without <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">
label {<!--   w  ww.ja va 2  s  .  co  m-->
   width:100px;
   display:inline-block;
}
</style> 
 </head> 
 <body> 
  <label>Lore</label> 
  <input type="text"> 
  <br> 
  <label>Lorem ipsum d</label> 
  <input type="text">  
 </body>
</html>

Related Tutorials