Classes

We'll start our look at stylesheets with another look at our Shelley Web site. We're looking at a page with navigation and text—it's a feature article. Example 8-2 shows the HTML for this page.

Example 8-2. HTML for feature page
<div id="feature">
<h1>Jellyfish for Eyes</h1>

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
 invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et
 accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
 sanctus ...

Get Advanced JavaScript™: Insights and Innovative Techniques now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.