Ch6 Flashcards Preview

Web Found > Ch6 > Flashcards

Flashcards in Ch6 Deck (12):
1

For a two-column layout where the main content is fluid and the aside is fixed, you use CSS to


set the body width to a percent and don’t set the section width

2

Which of the following should you NOT do when using CSS3 properties to create text columns?

Make the columns wide enough to read easily.


Include the property prefixes required to display the columns in browsers that support this feature.

Correct Response
Justify the text in the columns.


Code the columns in an article element.

3

Which of the following techniques can you NOT use to create a two-column layout?


Code the first column before the second column and then float both columns to the left.


Code the columns in any order and then float the first column to the left and the second column to the right.

Correct Response
Code the columns in any order and then float both columns to the left.


Code the first column before the second column and then float the first column to the left.

4

When you use ____________________ positioning with CSS, the positioned element doesn’t move in the browser window, even when you scroll.

fixed

5

If you want to use a __________________ page layout, you set the width of the page to a percent.

fluid

6

When you use CSS to set the float property for an element, you should also set the ____________________ of the element.

width

7

When you set the float property for a block element to left, the elements that follow it will flow into the space


to the right of the floated element if there’s enough space

8

When you use ____________________ positioning with CSS, the other elements on the page are positioned as if the element wasn’t there.

absolute

9

When you set the position property for a block element to fixed, the element


is positioned relative to the browser window

10

To stop an element from flowing into the space on the side of a floated element, you can code the ____________________ property.

clear

11

For a three-column layout, you can


code the main content and asides in any sequence and then float the first aside and the main content to the left and the second aside to the right

12

When you set the position property for a block element to absolute, the browser


takes the element out of the flow of elements on the web page