The New Stuff

HTML Tables

List of problems occuring while using html tables


1. Rendering the table is time consuming
The entire table must be downloaded and the dimensions of everything in the table must to be known before the table can be rendered. That can delay the rendering of your content, especially if your table contains images without HEIGHT or WIDTH attributes.
 
2. Problems in display and layout of contents
If any of your table’s content is too wide for the available display area, then the table stretches to accommodate the oversize content. The rest of the content then adjusts to fit the over sized table rather than fitting the available display area. This can force your readers to scroll horizontally to read your content, or can cause printed versions to be cropped.
For readers whose displays are narrower than the author anticipated, fixed-width tables cause the same problems as other oversize tables. For readers whose displays are wider than the author anticipated, fixed-width tables cause extremely wide margins, wasting much of the display area. For readers who need larger fonts, fixed-width tables can cause the content to be displayed in short choppy lines of only a few words each.
3. Search Engine Optimization Issues
Some search engines use the text at the beginning of a document to summarize it when it appears in search results, and some index only the first n bytes of a document. When tables are used for layout, the beginning of a document often contains many navigation links that appear before than actual content. Some search engines ingnore the tables.
4. Syntax issues with tables
Many browsers are especially sensitive to invalid syntax when tables are involved. Correct syntax is especially critical. Even with correct syntax, nested tables may not display correctly in older versions of Netscape Navigator.
Some browsers ignore tables, or can be configured to ignore tables. These browsers will ignore any layout you’ve created with tables.
Many versions of Navigator have problems linking to named anchors when they are inside a table that uses the ALIGN attribute. These browsers seem to associate the named anchor with the top of the table, rather than with the content of the anchor. You can avoid this problem by not using the ALIGN attribute on your tables.
Take precautions while using tables:
If you use tables for layout, you can still minimize the related problems with careful markup. Avoid placing wide images, PRE elements with long lines, long URLs, or other wide content inside tables. Rather than a single full-page layout table, use several independent tables. For example, you could use a table to lay out a navigation bar at the top/bottom of the page, and leave the main content completely outside any layout tables.

Comments

comments

Recently Published

article image
»

VTC: AJAX

VTC: AJAX 168 Mb Title: Ajax Author: Steve Holzner SKU: 33713 ISBN: ...

article image
»

Linkin Park – Minutes to Midnight

Linkin Park – Minutes to Midnight ——-[Track ...

article image
»

VLC (VideoLAN) ‘The luggage’ for Windows 1.1.0 RC3

VLC (VideoLAN) is a multi-platform multimedia player. It can read ...

iPhoness
»

AT&T And Sprint Report iPhone 4S Sales Success

Everyone know that yesterday iPhone 4S began selling in seven ...

article image
»

Linkin Park – Minutes to Midnight

Linkin Park – Minutes to Midnight ——-[Track ...

photo_1313974112182-1-0
»

Skype buys messaging startup GroupMe

Skype, the Internet communications group set to be acquired by ...

article image
»

Neal Goldstein, “iPhone Application Development For Dummies, Second Edition”

Neal Goldstein, “iPhone Application Development For Dummies, ...

article image
»

Skype Blocks, Threatens To Sue Fring (Update: Skype Says Fring Is Lying)

Late last week, mobile communication services provider fring ...

article image
»

Get domain out of any URL string

It’s a common problem with no single right answer: extract the top ...

Get Adobe Flash player