Basic table styling


show more Basic table styling provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS5 Essential Training show less
please wait ...

Basic table styling

In the past few exercises, we've added considerable structure to our table. Before we move forward for styling our new structural elements, we need to take a step back and talk about styling the basic elements of our table. As you're creating your tables, you need to have a clear idea as to the parts of your table you plan on controlling through visual styling, versus what you'll be controlling with the table properties. In the case of our table, we are going to control padding, table width, and borders through our styles, eliminating the need to stay these properties in our code. Although you can control cell padding through styles, it's still a good idea to pass a value of zero for cell padding.

Some browsers will add default padding to the table if no value is passed. Another thing to note when planning styles is that cell spacing remains one property that we can control through table attributes but not through styles. We'll set that value manually as well and then...

Basic table styling
Video duration: 8m 45s 15h 22m Beginner

Viewers:

Basic table styling provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS5 Essential Training

Subject:
Web
Software:
Dreamweaver
Author:
please wait ...