Beruflich Dokumente
Kultur Dokumente
Winter 2011
Name:
1. According to the book CSS Mastery: Advanced Web Standards Solutions, Second Edition
by Andy Budd, what three most important concepts are key to understanding CSS?
2.
3.
Margin collapsing
2.
3.
With relative positioning, the element continues to occupy the original space, whether or not it is
offset. As such, offsetting the element can cause it to overlap other boxes.
Absolute positioning takes the element out of the flow of the document, thus taking up no space.
An absolutely positioned element is positioned in relation to its nearest positioned ancestor. If the
element has no positioned ancestors, it will be positioned in relation to the initial containing block.
If you relatively position an element, it will stay exactly where it is. You can then shift the element relative to
its starting point by setting a vertical or horizontal position.
MM2213 (Intermediate Web Design) Quiz Week 3
Winter 2011
6. Images can be placed anywhere within an HTML document using the <img /> tag.
What is the main reason for using CSS to create background elements such as textboxes,
rounded corners, buttons, and the like?
used the image tag to clutter our pages with purely presentational images.
7. RGBA is supported in Internet Explorer 9, Chrome 4.X, Firefox 3.X, Opera 10.X,
and, Safari 3.X. (TRUE)
True
False
9. Explain the concept of "Image Replacement," why you would want to use it.
you add your text to the document as normal, and then, using
CSS, you hide the text and display a background image in its place. That way, search engines
still have the HTML text to find, and the text will be available if you disable CSS.
10. It is acceptable to use new CSS 3 properties like border-radius and box-shadow
instead of using older CSS 1 and CSS 2 methods.(FALSE)
True
False