Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 24th, 2012  |  syntax: None  |  size: 0.84 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Align inner table to right to text of outer table td
  2. <!DOCTYPE HTML>
  3.     <html>
  4.      <head>
  5.       <title> New Document </title>
  6.       <meta name="Generator" content="EditPlus">
  7.       <meta name="Author" content="">
  8.       <meta name="Keywords" content="">
  9.       <meta name="Description" content="">
  10.      </head>
  11.  
  12.      <body>
  13.       <table border="1">
  14.        <tr>
  15.         <td>
  16.           Here is some text
  17.           <!-- Inner Table. This table should come at right to the above text-->
  18.           <table style="border:1px solid blue;">
  19.             <tr>
  20.              <td>1</td>
  21.              <td>Krish</td>
  22.             </tr>
  23.  
  24.              <tr>
  25.              <td>2</td>
  26.              <td>Alex</td>
  27.             </tr>
  28.  
  29.           </table>
  30.         </td>
  31.        </tr>
  32.       </table>
  33.  
  34.      </body>
  35.     </html>
  36.        
  37. <table style="border:1px solid blue;float:right;">