HTML table fixed, right is displaying on the left - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table

Description

HTML table fixed, right is displaying on the left

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">
.TicketProperties {<!-- w  ww .ja  v  a 2 s . c o m-->
   width:31%;
   float:right;
   display:inline;
   right:0;
   position:fixed;
}
</style> 
 </head> 
 <body> 
  <table border="1" cellspacing="5" cellpadding="5" class="TicketProperties"> 
   <tbody> 
    <tr> 
     <td>Lorem ipsu</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials