This is Lesson 3
I will now begin the lesson
One is often told many things in life. Sometimes these things are ignored, sometimes they are not. Some of these things are for ones own good, some of these things do nothing but hurt an individual. Why am I telling you all of this? No reason, other than the fact that it is something that you are being told to do right now, and you will need to do it.
Cyber Class
is a cool class!
- What does the word-spacing tag do?
- It adds additional space between words.
- What are the abbreviations for the 8 units one can use to specify word-spacing distances?
- in (inches) cm (centimeters) mm (millimeters) pt (points) pc (picas) em (ems) ex (x-height) px (pixels)
- What does letter-spacing do?
- It sets the spacing between the letters.
- For both of the above properties, what is one value that you can still use to ensure that the default browser value is used?
- normal
- What declaration allows one to achieve control over the vertical spacing between lines of text?
- line-height
- What are the 3 ways to give a value for the above declaration?
- by number, length unit, or by percentage
- When you specify line-height with a number, the browser uses the font-size value to obtain the value of the number for the line-height. If the number assigned to the line-height is 3, and the font-size has a value of 10pt, what is the value of the line-height?
- 30pt
- What is useful about the numbers that one can use for line-height (what else could one do with the numbers?)?
- the numbers can be negative to overlap text.
- List the tags that define new paragraphs on their own?
- p, h1-h6, blockquote, ul
- What are the 4 values for text-align, and what does each do?
- left- aligns the element left
- right- aligns the element right
- center- centers the element
- justify- justifies the element
- What four things are commonly aligned with text-align?
- text, graphics, java applets, quicktime movies
- What are the 8 values for vertical-align, and what does each mean?
- The 8 values are:
- top aligns the top of the element with the tallest parent element on
the line.
- bottom aligns the bottom of the element with the lowest parent element on the line.
- text-top aligns the top of the element with the top of the font of the parent element.
- text-bottom aligns the bottom of the element with the bottom of the font of the parent element.
- baseline aligns the baseline of the element with the baseline of the parent element.
- middle aligns the midpoint of the element with the middle of the parent element.
- sub puts the element in subscript.
- super puts the element in superscript.
- How would one indent a paragraph with stylesheets?
- Use the text-indent property and using any familiar length units.
- Every single block-level element or replaced element is contained in a box. What elements does the box consist of?
- the element itself
- the padding around the element
- the border around the padding
- the margin around the border
- What are the four values for controlling the margin?
- The 4 values are margin-top, margin-bottom, margin-left, and margin-right.
- What are the three ways to setting margin values?
- Pixels (px) Points (pt) or percentage values
- If you were to overlap text using margins, how could you control which text fell on top of one another?
- The one on top is encoded after the one in the back, and the one on top has a negative marginal value.
- Where is the padding located?
- It is the space between the element and its border.
- Which supports negative values, margins or padding?
- Margins
- What are the four values for controlling the border?
- The 4 values are border-top-width, border-bottom-width, border-left-width, and border-right-width.
- When specifying the width of a border, one can use any of the numbers used for margins and padding, but what else can one use to specify the width of a border?
- The width can be specified by the word thin, medium, or thick.
- What is the "short-cut" to specifying all of the borders the same width?
- border-width:
- How would one change the color of a border?
- border-color:
- If you wanted the four borders to all be different colors, one would simply list the four color values in order. But what is the order that the browser goes in in determining which border gets which color?
- The order is top, right, bottom, and then left.
- Name the eight different styles of borders, and describe each one.
- solid - the border is a solid line
- double - the border is a double line
- dotted - the border is dotted
- dashed - the border is dashes
- groove - the border looks like a dip around the element
- ridge - the border looks like its raised above the page
- inset - the border is sticking out like a roof
- outset - the border slants in diagonally
- What does the lesson mention about using border-style with Internet Explorer 4 or 5 (I'm not sure if it also pertains to I.E. 6)
- You have to use border-style with IE 4 and 5, or they won't display any border at all.
- What does the "float" property do?
- It allows you to flow text around an element.
- What are the two ways to specifying the "float" value?
- left and right
- What does the "clear" property do?
- It won't wrap around an element on the specified side.
- What values can one set the "clear" property to?
- left and right
Back
Next