O'Reilly logo

The Essential Guide to CSS and HTML Web Design by Craig Grannell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. TABLES: HOW NATURE (AND THE W3C) INTENDED

In this chapter:

  • Introducing how tables work

  • Using borders, padding, and spacing

  • Creating accessible tables

  • Enhancing tables with CSS

  • Designing tables for web page layout

The great table debate

Tables were initially intended as a means of displaying tabular data online, enabling web designers to rapidly mark up things like price lists, statistical comparisons, specification lists, spreadsheets, charts, forms, and so on (the following example shows a simple table, taken from www.macuser.co.uk).

The great table debate

It wasn't long, however, before web designers realized that you could place any web content within table cells, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required