IRISM's WebZine

Topic Areas

Accessibility

Design

Performance

Usability

Ratings

Resources

Tech Tips

Tabled to Table-less Conversion, Step 1

All references to tables were removed. Layers were created using <div> tags:

Two of the existing library blocks remain: the left sidebar and the copyright. However, the navigation bar library block, which contains a table, was eliminated, and the code in this page was modified; this element no longer links to the library and the page is not linked to the site template, either. The <td> and the <tr> tags were converted to <div> tags. The new layers were added to the style sheet, with 100% widths set.

After this conversion was done, the page has a new layout, which you are viewing now. You will notice that everything is laid out in the order in which it is coded in the file, and that the three-columned layout does not render.

The next step would be to add the attributes for the new layers to the style sheet, and tweak the styles to get the navigation, sidebars, and main content elements properly colored, sized, padded, and placed.

Tabled to Table-less Conversion, Step 2

Table-less Layout Views

Tabled to Table-less Conversion, Step 1

Tabled to Table-less Conversion, Step 2

Tabled to Table-less Conversion, Step 3

Tabled to Table-less Conversion, Step 4

Tabled to Table-less Conversion, Step 5

Table-less Layout, Final

More Hacks on the Table-less Theme