HTML Layouts
Tables have been a popular method for achieving advanced layouts in HTML. Generally, this involves putting the whole web page inside a big table.  This table has a different column or row for each main section.
<table id=&quot;shell&quot; bgcolor=&quot;black&quot; border=&quot;1&quot; heigh=&quot;200&quot; width=&quot;300&quot;> <tr><td> <table id=&quot;inner&quot; bgcolor=&quot;white&quot; heigh=&quot;100&quot; width=&quot;100&quot;> <tr><td>Tables inside tables!</td></tr> </table> </td></tr></table>
<table width=&quot;400px&quot; border=&quot;0&quot;> <tr> <td colspan=&quot;2&quot; style=&quot;background-color:yellow;&quot;> Header </td> </tr> <tr> <td style=&quot;background-color:orange;width:100px;text-align:top;&quot;> Left menu<br /> Item 1<br /> Item 2<br /> Item 3... </td> <td style=&quot;background-color:#eeeeee;height:200px;width:300px;text-align:top;&quot;> Main body </td> </tr> <tr> <td colspan=&quot;2&quot; style=&quot;background-color:yellow;&quot;> Footer </td> </tr> </table>
<table id=&quot;shell&quot; title=&quot;Shell&quot; height=&quot;250&quot; width=&quot;400&quot; border=&quot;0&quot; bgcolor=&quot;black&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot;> <tr height=&quot;50&quot;><td bgcolor=&quot;white&quot;> <table title=&quot;banner&quot; id=&quot;banner&quot;> <tr><td>Banner goes here</td></tr> </table> </td></tr> <tr height=&quot;25&quot;><td bgcolor=&quot;white&quot;> <table title=&quot;Navigation&quot; id=&quot;navigation&quot;> <tr><td>Links!</td> <td>Links!</td> <td>Links!</td></tr> </table> </td></tr> <tr><td bgcolor=&quot;white&quot;> <table title=&quot;Content&quot; id=&quot;content&quot;> <tr><td>Content goes here</td></tr> </table> </td></tr></table>

Html Layouts

  • 1.
  • 2.
    Tables have beena popular method for achieving advanced layouts in HTML. Generally, this involves putting the whole web page inside a big table. This table has a different column or row for each main section.
  • 3.
    <table id=&quot;shell&quot; bgcolor=&quot;black&quot;border=&quot;1&quot; heigh=&quot;200&quot; width=&quot;300&quot;> <tr><td> <table id=&quot;inner&quot; bgcolor=&quot;white&quot; heigh=&quot;100&quot; width=&quot;100&quot;> <tr><td>Tables inside tables!</td></tr> </table> </td></tr></table>
  • 4.
    <table width=&quot;400px&quot; border=&quot;0&quot;><tr> <td colspan=&quot;2&quot; style=&quot;background-color:yellow;&quot;> Header </td> </tr> <tr> <td style=&quot;background-color:orange;width:100px;text-align:top;&quot;> Left menu<br /> Item 1<br /> Item 2<br /> Item 3... </td> <td style=&quot;background-color:#eeeeee;height:200px;width:300px;text-align:top;&quot;> Main body </td> </tr> <tr> <td colspan=&quot;2&quot; style=&quot;background-color:yellow;&quot;> Footer </td> </tr> </table>
  • 5.
    <table id=&quot;shell&quot; title=&quot;Shell&quot;height=&quot;250&quot; width=&quot;400&quot; border=&quot;0&quot; bgcolor=&quot;black&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot;> <tr height=&quot;50&quot;><td bgcolor=&quot;white&quot;> <table title=&quot;banner&quot; id=&quot;banner&quot;> <tr><td>Banner goes here</td></tr> </table> </td></tr> <tr height=&quot;25&quot;><td bgcolor=&quot;white&quot;> <table title=&quot;Navigation&quot; id=&quot;navigation&quot;> <tr><td>Links!</td> <td>Links!</td> <td>Links!</td></tr> </table> </td></tr> <tr><td bgcolor=&quot;white&quot;> <table title=&quot;Content&quot; id=&quot;content&quot;> <tr><td>Content goes here</td></tr> </table> </td></tr></table>