untitled

(John Hannent) #1
Your HTML code is saved to the disk.


  1. Press Alt+Tab to switch to Internet Explorer.

  2. Press F5 to refresh the browser.


This cycle of keystrokes allows you to rapidly view your results, and then
return to Notepad to try additional adjustments... until at last you’re com-
pletely happy forever after.

Aligning Text ................................................................................................


Chapter 4 briefly introduced the idea of aligning elements — usually text
aligned to images. In this chapter, you take a closer look at the various possi-
ble alignments.

Vertical aligning .................................................................................

The vertical-alignproperty specifies how text aligns vertically (surprise!)
in relation to another element, such as other text (superscripting, for exam-
ple) or an image (captioning, for example).

Figure 7-9:
Reducing
letter, line,
and word
spaces
results in
the best
design.

138 Part II: Looking Good with CSS

Free download pdf