Tableless Layout Tutorial - How to create a tableless website layout?
This tableless web design tutorial will help you learn how to create a website design with a tableless layout using XHTML, DIVs and CSS. Tableless web design (or tableless web layout) is a method of web design and development without using HTML tables for page layout control purposes. Instead of HTML tables, style sheet languages such as CSS (Cascading Style Sheets) are used to arrange elements and text on a web page. This tutorial will help you to switch from table-based to tableless web design with CSS.
This tutorial gently guides you through the transition from tables to CSS, and demonstrates how in many ways CSS layouts are easier. You’ll learn the basics of CSS layouts and see that there are many equivalencies between table and CSS concepts. Then you’ll learn to work with CSS starter pages as you convert a table-based design to a pure table-less CSS design.
Why Go Tableless?
Many of you have this question in mind that why should I really change to tableless web design. So, here is a list of advantages of using tableless layout design as compared to table-based design layout.
- Tableless design produces web pages with fewer HTML tags used purely to position content. This normally means that the pages themselves become smaller to download. The philosophy implies that all the instructions regarding layout and positioning be moved into external style sheets. According to the basic capabilities of HTTP, as these rarely change and they apply in common to many web pages, they will be cached and reused after the first download. This further reduces bandwidth and download times across the site
- Because of the Internet’s rapid growth 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.
- 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. Also, because the layout information is stored externally to the HTML, it is quite easy to add new content in a tableless design, whether modifying an existing page or adding a new page.