Float Left <UL> list with float right text boxes - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Float Left <UL> list with float right text boxes

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">
.FirstObj li {<!--  w  w w .  jav  a  2  s.com-->
   position:relative;
   margin-bottom:11px;
   width:201px;
}

li input {
   position:absolute;
   right:0;
   width:100px;
}
</style> 
 </head> 
 <body> 
  <div class="FirstObj"> 
   <ul style="list-style: none;"> 
    <li class="PersonLI">Lorem ipsum d<input id="txtFname" type="text" value=""> </li> 
    <li class="PersonLI">Lorem ipsum <input id="txtLname" type="text" value=""> </li> 
    <li class="PersonLI">Lorem ipsu<input id="txtAddr" type="text" value=""> </li> 
    <li class="PersonLI">Lorem i<input id="txtCity" type="text" value=""> </li> 
    <li class="PersonLI">Lorem ip<input id="txtState" type="text" value=""> </li> 
    <li class="PersonLI">Lorem ipsum<input id="txtZip" type="text" value="">Lorem </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials