One of the most popularly used web design techniques of today is called the Tableless Web Design or the Tableless Web Layout. This has been around since the start of Style Sheet Languages including CSS (Cascading Style Sheet) and XSL (Extensible Stylesheet Language). Instead of HTML tables, style sheet languages such as CSS are used to arrange elements and text on a web page. CSS was introduced by the World Wide Web Consortium (W3C) to improve web accessibility and to make HTML code semantic rather than presentational.
The Start of Tableless Web Design
HTML was originally designed for sharing scientific documents and research papers online. But as the Internet grew into the mainstream in the, and became more media oriented, graphic designers sought ways to control the appearance of the Web pages presented to end users, which is by designing a layout of the page. To this end, tables and spacers have been used to create and maintain page layout.
Though very effective, this caused a number of problems. Many Web pages have been designed with tables nested within tables, resulting in large HTML documents which use more bandwidth. Furthermore, when a table based layout is linearized, for example when being parsed by a screen reader or a search engine, the resulting order of the content can be somewhat confusing. Visit an online Web design Philippines site to learn more about using CSS in web design.
Powerful WYSIWYG editors such as the Macromedia Dreamweaver (now known as Adobe Dreamweaver) arrived on the market which meant Web designers no longer needed a good (or any) understanding of HTML to build web pages. Such editors indirectly encourage extensive use of nested tables to position design elements. As designers edit their documents in these editors, code is added to the document which is sometimes unnecessary. Furthermore, unskilled designers may use tables more than required when using a WYSIWYG editor. This practice can lead to many tables nested within tables as well as tables with unnecessary rows and columns.
The use of graphic editors with slicing tools that output HTML and images directly also promote poor code with tables often having many rows of 1 pixel height or width. Sometimes many more lines of code are used to render content than the actual content itself.
As the World Wide Web boom receded in 2001 and the Web development industry shrank, coders with more experience and greater industry experience were in higher demand. In a large number of cases UI development was carried out by coders with greater knowledge of good coding practice. It was around this time that many became critical of messy coding practices and the idea of tableless design began to grow.
Cascading Style Sheets (CSS) were developed to improve the separation between design and content, and move back towards a semantic organization of content on the Web. The term “tableless design” implies the use of CSS to position HTML elements on the page but it should be noted that tables and CSS are not mutually exclusive. Many experienced HTML coders use CSS to manipulate tables frequently.
Advantages of Tableless Web Design
There are several advantages as to why CSS is much more efficient than using tables. These are Accessibilty, Bandwidth Savings, and its Maintainability.
Because of the Internet’s rapid growth, disability discrimination legislation, and the increasing use of mobile phones and PDAs, it is necessary for Web content to be made accessible to users operating a wide variety of devices. Tableless Web design considerably improves Web accessibility in this respect. Screen readers and braille devices have fewer problems with tableless designs because they follow a logical structure.
As a result of the separation of design (CSS) and structure (HTML), it is also possible to provide different layouts for different devices, e.g. handhelds, mobile phones, etc. It is also possible to specify a different style sheet for print, e.g. to hide or modify the appearance of advertisements or navigation elements that are irrelevant and a nuisance in the printable version of the page. Check out and visit an online Web design Philippines site to learn more of what CSS can do for a web site.
Clever implementation of tableless design can produce web pages with fewer HTML tags thus reducing page download times. Using external style sheets to position page elements means more mark up language may be cached and further reduce download times for subsequent pages using the same resources.
Poor implementation of tableless design can result in many more lines of code used per page element which can increase download time. Tables have a defined set of rules which are clear and concise while tableless design often involves working around browser inconsistencies.
Tableless design does not necessarily imply bandwidth savings. If implemented correctly, the bandwidth savings are generally minor at best. It is still possible to build a lightweight web page with tables. The use of WYSIWYG editors or the technique used by the web page’s author will have a much greater influence on page download times.
Maintaining a website may require frequent changes, both small and large, to the visual style of a website, depending on the purpose of the site. Under table-based layout, the layout is part of the HTML itself. As such, without the aid of template-based visual editors such as HTML editors, changing the positional layout of elements on a whole site may require a great deal of effort, depending on the amount of repetitive changes required. Even employing sed or similar global find-and-replace utilities cannot alleviate the problem entirely.
In tableless layout using CSS, virtually all of the layout information resides in one place: the CSS document. Because the layout information is centralized, these changes can be made quickly and globally by default. The HTML files themselves do not, usually, need to be adjusted when making layout changes. If they do, it is usually to add class-tags to specific markup elements or to change the grouping of various sections with respect to one another. Learn how professional web designers use CSS to maximize the usability and effectivity of web sites by visiting an online Web design Philippines site.
Use of Tables in Modern Day Web Design
Because of the term “tableless web design”, some have interpreted this design strategy as an unconditional repudiation of all tables in web design. This has caused some to avoid tables even when tables are appropriate. Using divisions to simulate a table for the display of tabular data is as much a design flaw as using tables to simulate a division. Some sources clarify this distinction by using the more specific term “tableless web layout”.
On the other hand, using tables in web design, although most common, does not necessarily equate to using the table element (and related elements) defined in HTML 4.0. CSS also specifies a “table model” which allows the semantics of “tabular representation” to be applied: the “display: table” element. In this way, the decision and definition for tables is transferred from HTML to CSS. One reason this distinction is sometimes overlooked is because of the lack of support for the CSS table model in Internet Explorer. Internet Explorer 8 is the first version of the browser to support the CSS table model.