Three Column Design Using HTML with Table : three Columns « Layout « HTML / CSS

HTML / CSS
1. Background Attributes
2. Basic Attributes
3. Basic Tags
4. Box Model
5. CSS Attributes and Javascript Style Properties
6. CSS Controls
7. Form Attributes
8. Form Style
9. Form Tags
10. Frame Attributes
11. Frame Tags
12. HTML
13. IE Firefox
14. Images
15. Layout
16. Layout Attributes
17. Link Attributes
18. Link Tags
19. List Attributes
20. List Style
21. List Tags
22. Marquee Attributes
23. Meta Tags
24. Microsoft Attributes
25. Object Attributes
26. Object Tags
27. Reference
28. Style Basics
29. Styles Tags
30. Table Attributes
31. Table Style
32. Table Tags
33. Text
34. Text Attributes
35. Text Tags
36. XML
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
HTML / CSS » Layout » three Columns 
Three Column Design Using HTML with Table
 
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitionalt//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <title>Three Column Design Using HTML</title>
    <style rel="stylesheet" type="text/css">
table {
  background-color: #ffffff;
  border-style: solid;
  border-width: 1px;
  border-color: #666666;
}
.header {
  background-color: #f3f3f3;
  padding: 3px;
}

.nav {
  font-weight: bold;
  background-color: #e3e3e3;
  padding: 5px;
}

.content {
  padding: 10px;
}

.rightColumn {
  font-weight: bold;
  background-color: #e3e3e3;
  padding: 5px;
  vertical-align: top;
}
</style>
  </head> 
  <body>
    <table width="800" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td class="header" colspan="3"><h1>My Company Name</h1></td>
      </tr>
      <tr>
         <td class="nav" valign="top" width="100">
         <a href="">Home</a><br /><a href="">Products</a><br /><a href="">Services</a><br /><a href="">About Us</a><br /><a href="">Contact Us</a>
        </td>
        <td class="content">

        <h2>Sample Web Page</h2>
            <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc eleifend, erat id 
            commodo placerat, nulla purus bibendum justo, in dictum orci mi vitae nulla. Nullam 
            semper viverra nulla. Sed lacinia feugiat eros. Maecenas ullamcorper ligula quis odio. 
            Donec pede massa, pharetra sit amet, accumsan a, iaculis egestas, lectus. Etiam 
            ullamcorper elementum wisi. Etiam et felis aliquet dui tempus sagittis. Donec dapibus 
            ipsum id leo. Integer est ante, imperdiet non, suscipit sit amet, varius a, sem. 
            Integer lobortis wisi id erat. Nullam aliquet augue ac elit. Nulla facilisi. Vivamus 
            ligula tortor, molestie at, accumsan quis, semper vitae, augue. Praesent pede neque, 
            sollicitudin non, facilisis sed, viverra a, pede. Cras nec urna. Curabitur ut metus. 
            Curabitur erat lacus, tempus vitae, elementum nec, pulvinar vel, leo. Sed a velit. 
            Proin erat. Donec sem. </p>


        </td>
        <td class="rightColumn">This right hand bar may contain additional links or info about the site or it may contain advertising.</td>
      </tr>
    </table>
  </body>
</html>

 
Related examples in the same category
1. Header and three columns under
2. Column left, column main, column right
3. Three columns with navigation on the right
4. Use left property to control the column position
5. three column layout with header and footer
6. Three column layout with absolute position
7. Use absolute position to create header and three column under it
8. Use margin to layout the center column
9. Three columns, left and right column has abolute position
10. 3 columns, all fluid
11. 3 column
12. 3 Column fluid layout: 50% column, 2 x 25% columns
13. 3 column fluid layout - 33% columns
14. 3 Column fluid layout - 25% side columns
15. Three Column Elastic Layout
16. Floated Three Column Layout
17. Three Column Hybrid Layout
18. Three Column Liquid Layout
19. Floated Three Column Layout 2
20. Faux Three Column Liquid Layout
21. Three-Column Layout Demonstration with Javascript
22. Three-Column Layout Demonstration with fixed width
23. Three-Column Layout without footer
24. Three-Column Layout with absolute position
25. Three columns: all floating from left
26. Header and sub header with three columns
27. Three columns with header and footer
28. Three columns with no header and footer
29. Three column layout with sub sections
30. float left and right three columns
31. Top and left navigational bar and three columns
32. Three Column Layout in CSS
33. Basic 3-Column Sample Page
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.