Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
There are no index entries for this letter.
Symbols | A | B | C | D | E | F | G | H lowered by 7 pixels.
Aswe've already seen, the way a given line of text is displayedwill depend greatly on the vertical alignments of the variouselements within that line. However, this fact deserves to beemphasized again, due to its importance. Assume, for example, that a | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved.aren't underlined.
Despite all these issues, the ability to change the colors of elements is something almost every author will want to use, probably quite often. Used properly, colors can really strengthen the presentation of a document. Once you've decided how you plan to use color, you have to decide how you'll apply it, since some approaches will require the use of classes as well as simple element selectors.
The path and filename in a URL are typically specified from the root of the web-server directory, which is some subdirectory of the server's local file system. For security reasons, browsers can't access stuff outside the web-server directory.
URLs can specify files by relative or absolute path.
A relative URL specifies a file relative to the location of the file containing
the URL. An absolute URL specifies the full server name and path
from the root directory of the web-server. Suppose your web page
is http://www.taxidermy.org/~mad_dog/homepage.html and it includes
a link to cadavers.html which is located in the same subdirectory.
TEXTTOP aligns top of image with highest text in the line.
MIDDLE aligns middle of image to baseline.
ABSMIDDLE aligns middle of image with middle of largest element in the line.
BOTTOM aligns bottom of image to bottom of text.
ABSBOTTOM aligns bottom of image with bottom of largest element in page.
You can include characters between images to make sure they always display on the same line, but you'll get littlethis shorthand stuff, you're probably starting to suspect thatit goes even further, and you're right. We finally come to theshortest shorthand border property of all: border.
This property has the advantage of being very compact, although thatbrevity introduces a few limitations. Before we worry about that,let's see how border is used. If you wantall H1 elements to have a thick, silver border,it's very simple. This declaration would be displayed as shownin Figure 7-49: