DekGenius.com
Previous Section  < Day Day Up >  Next Section

8.5 Summary

The ability to apply margins, borders, and padding to any element is one of the things that sets CSS so far above traditional web markup. In the past, enclosing a heading in a colored, bordered box meant wrapping the heading in a table, which is a really bloated and awful way to create so simple an effect. It is this sort of power that makes CSS so compelling.

    Previous Section  < Day Day Up >  Next Section