Web Design Stuff
HTML Tutorials    CSS Tutorials    Web Hosting   Resources
Create a Web Page 101
Making Web Pages Intro What is a Web Page? Why Make a Web Page? The History of HTML Learn HTML or XHTML?
Basic HTML
Basic HTML Tutorials Basic HTML Necessities How to Make a Web Page How to Edit a Web Page The Basics of HTML Tags Basic HTML Page Structure HTML Attributes
HTML Font Codes
HTML Font Codes Intro HTML Font Color Codes HTML Font Size Codes HTML Font Style Codes HTML Bold/Italic Codes Combining Font Codes
Formatting Text
Formatting Text Intro Making Paragraphs Miscellaneous Formatting Headings & Subheadings Creating Hyperlinks
Using Graphics
Using Graphics on the Web Add Graphics to Your Pages Graphics and Accessibility How to Align Graphics Page Color & Background Graphics as Hyperlinks Horizontal Rules
Creating Tables
HTML Tables Tutorials HTML Table Fundamentals Background & Border Color Table Frames & Rules Table Width and Alignment Cells 1 -Space & Alignment Cells 2 -Row Column Span Cells 3 -Width & Height
Making Lists
HTML Lists Tutorials Bulleted Lists Numbered Lists Definition Lists
HTML Frames
HTML Frames Tutorials Using Frames for Layout Advanced Frame Layouts Putting Hyperlinks in Frames Frame Border Width Color, Margin and Control Problems with Frames SmartFrames: A Solution SSI: An Alternative to Frames
Web Page Forms
Making Feedback Forms A Simple Feedback Form Installing NMS FormMail Debugging Your Setup My Web Host is Out to Lunch User Input Components Text Fields Checkboxes & Radio Buttons Dropdown Menus Push Buttons Layout and Presentation
Basic CSS
Basic CSS Tutorials What is CSS? Why You Should Use CSS How to Use CSS Inline Styles Embedded Style Sheets External Style Sheets Class Selectors ID Selectors Combining Selectors
CSS Properties
CSS Properties Intro Font Styles Width, Height & Spacing Borders Backgrounds Position Float & Alignment Hyperlinks
All About Web Hosting
Hosting Your Own Website What is a Web Host? Your Website's Home Page Building a Website Offline About Free Web Hosting Best Free Web Hosting Commercial Web Hosting How to Get a Domain Name Ecommerce Web Hosting Web Hosting Terminology
Free Web Design Tools
Best Free Website Tools Best Free Text Editors Best Free Graphics Editors Free Website Analysis Tools
Setting Up HTML Kit
HTML Kit Introduction How to install HTML Kit Screenshot Breakdown Basic Configuration Overall Appearance Shortcuts and Startup Editing Window Customizing Toolbars Using the Favorites Tab Making a New Actions Bar Odds and Ends
Free Templates
Free Website Templates Two Column Fixed Width Three Column Liquid Layout Miscellaneous Templates Dynamic Menu Effects Two Column Experimental Terms of Use About These Templates
Website Templates Help
Getting Started Template Zip File Download How to Edit Your Template What to Edit in the HTML How to Add Your Logo Making a Website
Web Design Tips
Web Design Basics Tables vs. Tableless Using Tables for Layout Example Table Layouts World's Crappiest Web Page
Twitter Backgrounds
Twitter Backgrounds Intro Cool Twitter Backgrounds Cool Twitter Backgrounds 2 Plain Twitter Backgrounds Dark Twitter Backgrounds Best Twitter Backgrounds Cute Twitter Backgrounds Music Twitter Backgrounds Music Twitter Backgrounds 2 Twitter Backgrounds 101 TERMS OF USE
All About Web Browsers
What is a Web Browser? Mozilla Firefox Internet Explorer Opera How to Set Up Firefox Top 5 Firefox Extensions
 
Contact
Post Some Feedback Send Me An Email Iron Spider Blog About Iron Spider... Site Conventions
 
 
 

 

HTML Table Layouts

 
ON THIS PAGE
  • Basic 2 column layout
  • 2 columns w/ header
  • 2 columns w/ header and footer
  • 2 columns w/ header, navbar, footer
  • 3 columns w/ header, navbar, footer
 
This page will walk you through a series of example table layouts ranging from simple to complex to help you get the hang of things. You can use the interactive buttons below each example to switch between the layout view and the source code used to create the layout. The source code is expanded and commented to help you visualize what's going on behind the scenes.

Feel free to copy and paste the code into an HTML or text editor and then save it as an .htm file in order to preview the resulting web page. (Please see How to Make a Web Page if you have no idea what I'm talking about.)

In the following examples, keep in mind that I've thrown in some fonts and background colors for demonstrational purposes only. The focus here is intended to be primarily on page structure.

Alright then, away we go...


Basic two column layout


Menu column
Menu link
Menu link
Menu link
Menu link
Menu link
Content column
Website Logo

Page heading

This is a basic two-column web page layout. The left column or the menu column is a narrow band of space (usually between 15-25% of the page width) and is reserved for a menu of hyperlinks leading to other pages on your website. The table used to create this layout employs a single table row containing two table cells.

The right column or the content column takes up the lion's share of the web page width and contains the actual content of each particular page. In a basic two column layout like this, it is common to place the website logo at the top of the content column on each page.




 
 

^ Top ^




Two column layout with a header


Website Logo
< ~ Header ~ >
Menu column
Menu link
Menu link
Menu link
Menu link
Menu link
Content column
Page heading

Here's a two column layout with a header section that spans the width of both columns. The first table row creates the header and contains a single table cell which uses the colspan="2" attribute-value pair. The website logo typically goes in the header section.

The second table row contains two table cells which create the menu column (left) and the content column (right). The colspan attribute is not set in either so they default to colspan="1".


 
 

^ Top ^




Two column layout with a header and a footer


Website Logo
< ~ Header ~ >
Menu column
Menu link
Menu link
Menu link
Menu link
Menu link
Content column
Page heading

Here's a two column layout with header and footer sections that span the width of both columns. The first table row creates the header and contains a single table cell which uses the colspan="2" attribute-value pair.

The second table row contains two table cells which create the menu column (left) and the content column (right). The colspan attribute is not set in either so they default to colspan="1".

The third table row creates the footer. Like the header, it contains a single table cell which uses the colspan="2" attribute-value pair.
< ~ Footer ~ >


 
 

^ Top ^




Two column layout with header, navigation bar and footer


Website Logo
< ~ Header ~ >
Home
< ~ Navigation bar ~ >
Menu column
Menu link
Menu link
Menu link
Menu link
Menu link
Content column
Page heading

Here's a two column layout with header, navigation bar and footer sections. The first two table rows create the header and the navigation bar and contain a single table cell each. These table cells use the colspan="2" attribute-value pair.

The third table row contains two table cells which create the menu column (left) and the content column (right). The colspan attribute is not set in either so they default to colspan="1".

The fourth table row creates the footer. Like the header and the navigation bar, it contains a single table cell which uses the colspan="2" attribute-value pair.
< ~ Footer ~ >


 
 

^ Top ^




Three column layout with header, navigation bar and footer


Website Logo
< ~ Header ~ >
Home
< ~ Navigation bar ~ >
Menu column
Menu link
Menu link
Menu link
Menu link
Menu link
Content column
Page heading

A three column layout with header, navigation bar and footer sections. The first, second and fourth table rows create the header, navigation bar and footer respectively and contain a single table cell each. All these table cells use colspan="3" attribute-value pair.

The third table row contains three table cells which create the menu column (left), the content column (middle) and the extra column (right).

Extra column
< ~ Footer ~ >


 
 

^ Top ^





So let's say that you've got your web page all laid out nicely, you dropped in some content and have now developed a distinct hankering to click copiously on the upload button in your FTP program. Well hey... All the power to ya, my friend, but before you start taxing your hosting account's bandwidth allotment, you might want to review some basic web design tips. And to avoid cramping your style, instead of detailing exactly what to do in order to make a nice looking web page, we'll go over what not to do. In other words, let's learn how to make a real crappy web page...





Web Hosting 101

Learn about web hosting without the technobabble!

What is Web Hosting?
Best Free Web Hosting
Affordable Domain Names
Affordable Web Hosting

See also:

How to Make a Web Page
Free Website Templates

 

If you need a .COM web address, you can get one quick and easy at...

www.GoDaddy.com
<~ BACK TOP NEXT ~>
 
HTML Tutorials |  CSS Tutorials |  Web Hosting |  Domain Names |  Web Design Resources
Iron Spider © Copyright 2004-2011 Robert Darrell