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
Even though the paragraph is only 200 pixels wide, its first line isindented by 50 pixels (as Figure 4-9 shows), whichis the inherited value for text-indent.
Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved.
This positioning is all done using background-position, of course, but there are a whole lot of ways to supply values for this property. First off, there are the keywords top, bottom , left, right, and center. Usually, these appear in pairs, but (as Figure 6-36} shows) this is not always true. Then there are length values, such as 50px or 2cm , and finally,
I've left out a background color in order to keep the rule short, but remember to include a background color any time you have a background image. And, of course, the effect shown in Figure 6-28 would have been the same if we'd left out the background-repeat property altogether, since repeat is its default value.
Let's assume, though, that we just want images down the left side of the document. Instead of having to create a special image with a whole lot of blank space to the right of the image, we can
If the value 500 is unassigned, it is given thesame font weight as that assigned to 400.
If 300 is unassigned, it is given the next variantlighter than 400. If no lighter variant isavailable, 300 is assigned the same variant as400. In this case, it will usually be"Normal" or "Medium." This method is also