Course Technology Logo   Principles of Web Design
2nd Edition
    Home  >  Chapter 7

Table of Contents
 Home
 Chapter 1
 Chapter 2
 Chapter 3
 Chapter 4
 Chapter 5
 Chapter 6
 Chapter 7
 Chapter 8
 Chapter 9
 Chapter 10
red dot image
Web Warrior Series

Chapter 7 - Graphics and Color

The combination of graphics and text is what makes the Web so attractive and popular, but it also can be the undoing of many Web sites. Graphics used wisely produce an attractive and engaging Web site. The use of too many large or complex images or graphics forces users to endure long download times-and they may not wait. Find a good balance between images and text and use the image capabilities of HTML to suit your users' needs. Test your work in a variety of browsers and at a variety of connection speeds to make sure downloading your graphics does not discourage your readers.

The incorrect use of color in many Web sites creates unreadable text or navigation confusion for the user. Use color judiciously to communicate, to guide the reader, or to create branded areas of your site. Test your color choices carefully to make sure they appear properly across different browsers.

When you complete this chapter, you will be able to:

  • Understand file format basics
  • Understand computer color basics
  • Choose a graphics tool
  • Use the <img> element
  • Work with hexadecimal colors

Image Examples

Figure 7-1: GIF Transparency
Figure 7-11: Manipulating Image Size with width and height attributes
Figure 7-12: Graphics Size
Figure 7-13: Hypertext Border Off
Figure 7-14: Alignment Values
Figure 7-17: Image white space
Figure 7-18: Single Pixel GIF Rules
Figure 7-20: Background Image Repeated on Y-Axis
Figure 7-21: Background Image Repeated on X-Axis
Figure 7-22: Background Image Right-Aligned on Y-Axis
Figure 7-23: Events Calendar

Single Pixel Rules

For convenience, download the ZIP file that contains all six single pixel rules: pixrules.zip.

Use the width and height attributes in the <img> element to set the rule to any size you wish. Here are the six rules included in the ZIP file set to sample sizes (width x height):

    30 x 4

    300 x 5

    10 x 10

    5 x 60

    250 x 1

    200 x 10

Sample Images

For convenience, download the ZIP file that contains all six graphics: chp7pix.zip.

If you prefer, you can download the graphics individually.

In Internet Explorer, right-click on the graphics and choose Save Picture As.

In Netscape, right-click on the image and choose Save Image As.

beach.jpg

cycle.gif

globe1.gif

sail.gif

trains.gif

windsurf.gif

Top