13.07.2015 Views

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18. What are the four keywords of the overflow property?A. visible, auto, scroll, and hidden.Appendix A: Answers to ExercisesChapter 81. When an element is floated, what rule governs its dimensions?A. The shrink-to-fit rules; the element only expands enough to accommodate the content inside.2. What happens when an inline element, such as a element, is floated?A. It becomes a block element with shrink-to-fit sizing.3. What are the three keywords of the float property?A. left, right, and none4. If an element is floated to the right, and you don’t want the following element to wrap aroundit, what declaration would you apply to that element?A. clear: right; or clear: both;5. What declarations would you use to create subscript and superscript text?A. vertical-align: sub; and vertical-align: super;6. When vertically aligning an inline element to the middle, how is the element positioned onthe line?A. It is centered at the center point of the lowercase letter x.7. What is the difference between the text-top and top keywords of the vertical-alignproperty?A. In some browsers, nothing. The text-top keyword aligns to the top of the tallest lowercaseletter, and the top keyword aligns to the top of the line box.8. If you are aligning table cells to the baseline, what determines the baseline?A. The tallest content in the first row of the table.Chapter 91. Name which keywords of the list-style-type property are not supported by IE 6?A. decimal-leading-zero, lower-greek, lower-latin, upper-latin, armenian, andgeorgian.2. What list-style-type keywords are supported by IE 7?A. disc, circle, square, decimal, lower-roman, upper-roman, and none.3. What properties does the list-style property render utterly and completely useless?A. list-style-type, list-style-image, list-style-position.555

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!