Matt Wrote a Great Post on this :

The List

  1. Faster tender loading
  2. Lowered hosting costs
  3. Redesigns are more efficient
  4. Redesigns are inferior expensive
  5. Visual property serviceable throughout website(s)
  6. Better for SEO
  7. Accessibility
  8. Competitive bounds (job security)
  9. Quick website-wide updates
  10. Easier for teams to reassert (and individuals)
  11. Increased usability
  12. More Byzantine layouts and designs
  13. No spacer gifs

1. Faster tender loading

Table-based layouts are disreputable for having an irrelevant turn of fling markup. In housing you’re unaware, Wikipedia defines markup as:

a ordered of annotations to book that exposit how it is to be structured, ordered out, or formatted.

Pertaining specifically to scheme design, markup is the XHTML/HTML cipher utilised to structure, place out, and info the organisation of a website. So, ground are table-based layouts accused of containing fling markup? The easiest artefact to respond this discourse is to exhibit a springy warning of a scheme tender scarred up using tables versus that rattling aforementioned scheme tender scarred up using CSS. Sitepoint.com already place unitedly a rattling pleasant example, so kinda than creating our own, we’ll meet meaning theirs.

First, analyse the maker cipher contained within their table-based layout. This tender has 245 lines of code. Notice within the markup there are an dirty sort of instances of:

  • td align
  • td width
  • bgcolor
  • width, height
  • br (line break)
  • font tags (font face, color, size)
  • cellpadding, cellspacing, border

The large drawback to using tables is that both the noesis (text, images) and seeable aggregation (layout, positioning, book sizes, etc) are contained within the aforementioned HTML, PHP, or ASP file. One of the large advantages to migrating from a table-based layout to a CSS-based layout is the fact that the noesis is stored within the HTML, PHP or ASP enter and the seeable aggregation is stored within a CSS file(s).

Next, analyse the maker cipher contained within Sitepoint.com’s CSS-based layout. This tender has 170 lines of code. However, Sitepoint.com definite to allow the call artefact aggregation internally kinda than externally in a .CSS file. Had the call artefact aggregation been included in a removed .CSS file, then this tender would exclusive hit around 45 - 50 lines of cipher - most 5 nowadays inferior than what the aforementioned table-based layout had. Wow!

Note: When a call is practical to more than digit page, attain trusty to ingest outside CSS call sheets kinda than including the call aggregation internally (on the aforementioned tender as the content). Internal call sheets are exclusive pertinent if there is digit tender using the call information. For more on interior and outside call sheets meet w3schools.com.

Lets verify a countenance at the cipher utilised within the CSS example. As you crapper see, fling markup institute within table-based layouts are replaced in CSS layouts. These replacements include:

  • divs change tables as the important structural elements
  • no more height, width, cellpadding, cellspacing, border, bgcolor, type tags; every layout aggregation is contained severally within the CSS stylesheet
  • h1, h2 tags change type tags for headings
  • br tags are eliminated

A alluviation instance that could attain you cringe

When scrutiny the alluviation instance of the table-based layout versus the alluviation instance of the CSS-based layout, the plateau layout took 2 - 4 nowadays longer for the tender to alluviation (.25 - .4 seconds versus .1 - .12, respectively). Although we’re conversation most milliseconds in this portion example, it doesn’t matter. People dislike inactivity for websites to load. It strength meet be those player milliseconds that attain an unforbearing traveller opt to saucer to a quicker website with kindred content. Just feature “NO” to table-based designs!

2. Lowered hosting costs

Some hosting providers hit commercialism plans for their customers that are supported on the turn of bandwidth that is utilised apiece month. Bandwidth is the turn of reciprocation that is permissible to become between your website and the rest of the Internet. The warning utilised in the preceding point, 1. Faster Page Loading, illustrates the disagreement in alluviation nowadays between a scheme tender using a table-based layout (.25 - .4 seconds) versus that aforementioned scheme tender using a CSS-based layout (.1 - .12 seconds). In that example, the table-based layout’s enter filler was roughly 16kb (images not included) patch the CSS-based layout’s enter filler was 8kb (images not included). We also mentioned in the above warning that the call artefact was contained internally within the HTML file. If digit were to vanish the call artefact from the HTML enter and unification it as an outside call sheet, then the filler of the CSS-based HTML enter would be 4kb. 4kb! That is a change in enter filler of 75% (compared to the table-based layout’s enter size).

you crapper feature more on his website

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • DZone
  • Live
  • Propeller
  • SphereIt
  • Technorati