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
 
 
 

 

Using Tables vs. Tableless Design

 
No doubt there are those who think that I'm going straight to web developer hell for having the audacity to teach people to use tables to layout web pages instead of using tableless designs.

But the plain fact of the matter is:
  • Alot of people —including many high profile W3C members— seemingly don't give a rat's behind about the lofty cutting-edge web standards that are starting to frown upon the use of tables for web design (otherwise they wouldn't continue to use tables in their websites).
  • Not everyone has time to learn all that it takes to create a sophisticated tableless design which includes:

    1. A thorough understanding of HTML.
    2. A thorough understanding of the W3C Box Model as well as the difference between Standards Mode and Quirks Mode, and the DOCTYPE switch.
    3. A thorough understanding of advanced CSS techniques like floating, positioning, negative margins and more.
    4. A thorough understanding of various CSS "hacks" that will keep your tableless design from falling to pieces when it's loaded in various different web browsers.

Tables More Intuitive


Also, in my humble opinion, a newbie web designer will find using tables for web design more intuitive than using the CSS techniques that typically create tableless designs.

When you structure a web page using tables, it's like building a bookcase. You establish a strong outer container and then you simply build various shelves (table rows and cells) that —for all intents and purposes— become a distinct part of that outer container. While some shelves span the entire width of the bookcase, others split into two or more compartments to create vertical columns. These columns running side by side automatically expand and contract in synchronization as you raise or lower their supporting shelf. This immutable nature of all the rows and columns of HTML tables makes designing with them easy to visualize and understand.


Floated DIVs Less Intuitive


Now although creating a tableless design using floated DIVs also starts with building a strong outer container, the analogy quickly breaks down from that point on. Instead of building shelves which become a distinct part of the outer container, you are essentially just using the outer container like a shell into which you stack a bunch of smaller boxes of varying sizes. These smaller boxes are then specially tweaked and positioned in order to make them all fit nicely together.

This wouldn't be so much of a problem if it weren't for the host of cross-browser bugs, glitches and proprietary standards which prevent those boxes from always rendering at the exact same size every time. This often renders boxes wider than they are supposed to be which then forces them to drop out of position (known as "float dropping").

Other times the boxes will mysteriously fall short of their designated vertical height leaving an area of undesired white space at the bottom. The final result can be an ongoing and often frustrating struggle to keep your nice neat web page from turning into neo-cubist train wreck. Moreover, you have to literally jump through hoops to get opposing columnar boxes to expand and contract in synchronization with one another (in fact, it can't really be done but you can fake it pretty good).

This somewhat plastic and unpredictable nature of floated div elements is not easy to visualize or work with.

However, this is not meant to impugn the use of tableless designs. Rather, if you decide to go this route and you want to match the level of sophistication of web designs using tables then be warned that you are definitely in for a chore.


*   *   *


Alright then, assuming that you want to leave tableless designs until some future date when you feel more comfortable working with CSS, let's move on to learning how to use tables to layout your web pages...





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
INTRO TOP NEXT ~>
 
HTML Tutorials |  CSS Tutorials |  Web Hosting |  Domain Names |  Web Design Resources
Iron Spider © Copyright 2004-2011 Robert Darrell