Cascading Style Sheets Chapter
3 Test Notes
Pixel is
not an absolute measurement.
An em is the width of the capital letter M in the current font
and is usually the same as the font size.
An ex is
the height of the letter x in the current font.
The
value of an absolute unit cannot be positive, negative, or fractional.
900 x
760 is not a standard display.
Percentage
values are often NOT relative to another value.
Cursive
fonts are NOT well supported.
You can
specify a list of alternative fonts using a comma as a separator.
Larger
is NOT an absolute font size key word.
The
font-style property does not let you specify cursive text.
The default type weight is 400.
IE 5.0, Netscape 6.0, Opera 5.0 do not support the font-stretch property.
Indents are inherited from parent to child elements.
The superscript value does NOT raise the baseline of the box to the proper position for superscripts of the parent’s box.
When the text-shadow property is supported, you will be able to add shadows to letters by setting the shadow offset, blur radius and color.
TYPE is the basic building block of any Web page.
RELATIVE measurement values adapt to the user’s display type.
PERCENTAGE sets a font size relative to the base font size.
RESOLUTION is the measure of how many pixels fit on a screen.
The following rule sets the heading divisions to three times
the size of the default text: DIV.heading{font-size: 3em;}.
The rule P B {font-size: 125%;} indicates that the <B> text will display 125% larger than its parent, the <P> element.
The most common serif font is TIMES.
The CSS2 specification recommends a scaling factor of 1.2 between sizes for the computer display.
The font-variant property lets you define small capitals.
Use the text-indent property to set the amount of indentation for the first line of text in an element.
If the amount of indentation for the first line of text is a negative number, you will create a(n) hanging indent.
The style rule P {text-align: right;} sets the <P> element to right element.
To add or remove underlining, over-lining, and lines through the text, use the text-decoration property.
To subscript or superscript characters, use the vertical-align property.
The following code sets the white space between words to 3em: h1{word-spacing: 3em;}.
Normal, pre and nowrap are values of the white-space property.