position an image in a td - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Position

Description

position an image in a td

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> 
 </head> <!--from  w w w.j a v  a 2  s  .  c o m-->
 <body> 
  <table> 
   <tbody> 
    <tr> 
     <td style="position:relative"> <input type="text"> <i class="fa fa-spinner fa-spin" id="waiting_9" style="position: absolute; right: 6px; top: 4px;"></i> </td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials