Datasheet

15
Chapter 1: The Many Ways to Design a Web Page
decide later that you want all your headlines to use the Garamond font
instead of Arial, change the style for the <h1> tag only once in the style
sheet and it’s automatically applied everywhere you’ve used that style.
CSS enables you to create different style sheets for different audiences
and devices. In the future, this is likely to become even more important
as a growing number of people view Web pages on everything from
giant, flat-screen monitors to tiny, cell-phone screens.
As you get more advanced with CSS, you can create multiple style sheets
for the same Web page. For example, you can create one that’s ideally
suited to a small screen like the one shown in Figure 1-1, another one
that works best when the page is printed, and yet another designed with
a larger font size for anyone who may have trouble reading the small
print that is so common on Web pages.
In Figure 1-1, you see one of the coolest preview features in
Dreamweaver — Device Central — where you can preview your page
designs in a variety of cell phone models to see just how different they
can look when displayed on these small screens.
Using CSS makes your site comply with the current standards. Today,
the W3C, which sets standards for the Internet, recommends CSS
because the best CSS designs are accessible, flexible, and adaptable.
Following standards has become increasingly important as Web design
has become more complex over the years.
Figure 1-1:
Designing
Web pages
with CSS
can help
you create
designs that
display bet-
ter on large
and small
screens.
05_345023-ch01.indd 1505_345023-ch01.indd 15 9/2/08 7:12:15 PM9/2/08 7:12:15 PM