Prev | Current Page 184 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"

2em "Courier New", Courier, monospace;
padding: 2px 10px;
}
That just about wraps things up for online type. After all that text, it??™s time to change track.
In Chapter 4, you??™ll look at working with images on the Web, and in Chapter 5, you??™ll combine
what you??™ve learned so far and add anchors into the mix to create web navigation.
WORKING WITH TYPE
117
3
4 WORKING WITH IMAGES
In this chapter:
Understanding color theory
Choosing the best image format
Avoiding common mistakes
Working with images in XHTML
Using alt text to improve accessibility
Using CSS when working with images
Displaying a random image from a selection
Introduction
Although text makes up the bulk of the Web??™s content, it??™s inevitable that you??™ll end up
working with images at some point??”that is, unless you favor terribly basic websites akin to
those last seen in 1995. Images are rife online, comprising the bulk of interfaces, the navigation
of millions of sites, and a considerable amount of actual content, too. As the Web
continues to barge its way into every facet of life, this trend can only continue; visitors to
sites now expect a certain amount of visual interest, just as readers of a magazine expect
illustrations or photographs.
Like anything else, use and misuse of images can make or break a website??”so, like elsewhere
in this book, this chapter covers more than the essentials of working with HTML and
CSS. Along with providing an overview of color theory, I??™ve compiled a brief list of common
mistakes that people make when working with images for the Web??”after all, even
the most dedicated web designers pick up bad habits without realizing it.


Pages:
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196