HTML: relative positioned overlapping elements in TD - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Relative Position

Description

HTML: relative positioned overlapping elements in TD

Demo Code

ResultView the demo in separate window

<html>
 <head></head> 
 <body> 
  <table style="width: auto"> 
   <tbody> 
    <tr style="background-color: rgb(221, 255, 221)"> 
     <td style="padding-left:20px;">Lorem i<select size="1" style="width: 262px"> <option></option> <option>Lorem</option> </select> <input type="text" size="5" style="position: relative; left: -262px; width: 239px; margin-right: -242px;"> <span>Lorem</span> <input type="text" size="5"> <span>Lorem</span> <input type="text" size="5"> <span> </span> </td> 
     <td>Lorem </td> 
    </tr> <!--from   w  ww .  j a v  a  2s. com-->
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials