FireworksColdFusionDreamweaverFreehandFlashMXHome
Latest New Content

Latest Free Content
View All
Free Content
Accessibility
CMX Learning Guides
Hosted by enterhost

Introduction to CSS Table-Related Display Values [Registration never required for free content]

By: Zoe Gillenwater on Monday, January 16, 2006
Reader Level: Reader Level

Primary Category: CSSOne of the hardest things for web designers new to CSS layout to get their heads around is that divs don't act like table cells, the traditional building blocks of page layouts. Table cells automatically expand to hold their content, match each other in height, and stack horizontally, but divs don't do these things, making CSS layouts that emulate table layouts tricky. However, there's an easy way to get your divs to act like table-cells: tell them to using the display property. This article will introduce the table-related values of the display property of CSS 2.1 that allow you to make any non-table HTML element act like any table element. In the article following this one, you'll then learn how to use these display values to create a pure CSS layout that emulates the behavior of a table layout

More ...

Member's Sign In

Remember Me

Retrieve Password

Current Articles
and Tutorials

3419

Most Recent JumpStarts

Newsletter

View the archive

CMX Suite

New every Tuesday!CMX Weekly Cartoon
View the archive

RSS Feed

Syndicate CMX

Our feeds