VivaciousVixens Homepage HTML Homepage PSP Homepage CSS Week 1 CSS Week 2 CSS Week 3 CSS Week 4 CSS Week 5 CSS Week 6

Cascading Style Sheets

Week4



QUIZ
QUIZ


  1. What is the default for background-color?

    The default background color is Transparent.

  2. True or False? A background-image can only be used for the body of your page.

    False. You can also use the background-image property with other selectors to create some interesting effects.

  3. Which of the following is the correct syntax for background-image in embedded or linked style?

    background-image=url(graphics/wk4bg.jpg);
    background-image : url(graphics/wk4bg.jpg);
    background-image : url(graphics/wk4bg.jpg)
    background-image : url("graphics/wk4bg.jpg");

    background-image: url(graphics/wk4bg.jpg);
    Trial and Error or Cut and Paste -- Just Use the second one!

  4. True or False? Padding can only be added in equal amounts on each side of your box.

    False. Padding can be added in any amounts in length or percentage values. You can add up to four padding values: top, right, bottom, and left. If you specify Only One value All borders will be the same.

  5. True or False? Border styles are universal in all the major browsers.

    True & False. Navigator 4.x won't draw a border around the contents area of a block-level element but inserts some space between the content and the border.

  6. True or False? When grouping selectors, it's a good idea to group p, td, etc. with the body selector if using a background-image. Why or why not?

    False. If you group other selectors with the body selector when using a background image Netscape 4.x could misinterpret this and possibly place a new copy of the background image behind each tag.

CSS footer image

"Lord, when we are wrong, make us willing to change.
And when we are right, make us easy to live with."
-Author Unknown

"Great Lesson! ~~ Thanks Vikki and the LVS staff!"

These pages will look best if you come over to my Den and look at them on MY monitor.

Valid HTML 4.01! Valid CSS!