O'Reilly logo

CSS & CSS3 by Robin Nixon

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

Images

Learning the CSS Rules

Images

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixoncss/.

As with any language (and CSS is most definitely a language), there are rules and syntax that you must follow in order for your instructions to be properly understood. The way the rules work is based on the fact that web documents are built using the Document Object Model (DOM) in which every element of a page is treated as an object that can be uniquely addressed.

However, it is also possible to group objects together and ...

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