html editing, hand coding, httml tips and tricks, web programming, website design
art studios graphic artists design resource
html editing, hand coding, httml tips and tricks, web programming, website design
  HOME | CONTENT | RESOURCES | HELPA Member of the Neotrope® Interactive Network 
html editing, hand coding, httml tips and tricks, web programming, website design
graphic arts photoshop using photoshop
html editing, hand coding, httml tips and tricks, web programming, website design
  Digital Author - the online magazine for creators of digital content
digital authoring
graphic arts photoshop using photoshop
html editing, hand coding, httml tips and tricks, web programming, website design
 
SEARCH
html editing, hand coding, httml tips and tricks, web programming, website design
html editing, hand coding, httml tips and tricks, web programming, website design
html editing, hand coding, httml tips and tricks, web programming, website design
Images on this site were compressed using e-Vue MPEG4 technology in 2001, which was groundbreaking at the time for its DRM component and higher compression than JPG, however e-Vue is no more — we are transitioning these images to JPEG for 2004.
html editing, hand coding, httml tips and tricks, web programming, website design
web works articles

Home > Web Works > Article > Page 1 | 2 | 3
HTML Master Class:
Secrets of the "Hand Coders"

Tips and tricks to make your
Web programming more efficient

by Christopher Simmons, executive editor
Copyright © 2001 Christopher Simmons

(Continued — 2)

Nesting
The most complex layouts found on the Web have not been done in any layout program, but by hand. This is because very complicated designs require "nested tables" in order to keep all sorts of elements from falling apart in relation to one another.

© 2001 Christopher Simmons

Illustration shows how nested tables within cells of a "master table" allow for complex layouts on Web sites.

Tables are really designed to be used for a simple grid of columns, and you can get a bit adventurous doing things like having a single vertical column equal the height of two other blocks in another column. You can even have one row be equal to four single columns on a second row.

However, if you’ve ever tried to slice up a really complex design in Adobe ImageReady or Macromedia Fireworks (or a similar application), you’ve probably experienced the problem where the resulting auto-generated HTML doesn’t always work. You get gaps and empty blocks, and pieces that don’t line-up. This is because HTML-based tables want to have fairly simple blocks and the browser fails when you try too hard to make smaller pieces work relative to larger ones.

Thus, the beauty of "nested tables." With this methodology, you create what we call a "master table." This table is the main block of your design, broken into obvious rectangles that are usually no more than 2:1 as far as relative table cells go. This means if you have one large area, there are usually not more than two adjacent areas that equal the sum of the larger area. You might have another adjacent area that has two more halves of one of the first set of halves. To visualize this more easily, look at the large illustration, at the "master table" with three content areas.

To create complex layouts, you then make completely separate tables that can contain their own layout of cells. In the illustration, these are shown as nested table #1 and #2. Essentially, you create a new table that has the exact dimensions of one of the cells in the larger "master table." This placing of complete tables within the cells of another table is where we get the term "nested," and you can continue nesting tables further inside the first nested table.

Viewing the illustration again, you can see the bottom composite image shows how two nested tables inside two cells of a master table results in a highly complex layout. If you tried to build a single table with this type of table cell relationship, it would not work.

< Previous Page | Continued Next Page >

Home > Web Works > Article > Page 1 | 2 | 3

NOTICE: All content on this site is protected by U.S. and international copyright laws. By viewing this content, you agree to be bound by our Terms of Use. Reproduction, redistribution, or derivitive works in any form is strictly prohibited. Copyright © 1995-2002 Christopher Simmons — All Rights Reserved.
html editing, hand coding, httml tips and tricks, web programming, website design
 
 

shop at Amazon.com
100 Hot Books
100 Hot CDs
100 Hot DVDs
Hottest Software

Book Search


More Cool Stuff

Copr. ©śChristopher Simmons
Music to get creative!
Listen to the electronica space CD "Beserker" by Christopher Simmons while you work and be more creative!
More Info

html editing, hand coding, httml tips and tricks, web programming, website design html editing, hand coding, httml tips and tricks, web programming, website design
Top of Page | Home Page | Privacy | Panic Button

This site needs a modern web browser and Java. More Info
This Web site is powered by Neotrope™ Hosting

html editing, hand coding, httml tips and tricks, web programming, website design html editing, hand coding, httml tips and tricks, web programming, website design
digital artwork
html editing, hand coding, httml tips and tricks, web programming, website design
html editing, hand coding, httml tips and tricks, web programming, website design   html editing, hand coding, httml tips and tricks, web programming, website design
html editing, hand coding, httml tips and tricks, web programming, website design
web design the neotrope(tm) network - click to gohtml editing, hand coding, httml tips and tricks, web programming, website design
html editing, hand coding, httml tips and tricks, web programming, website design
neotrope