Ch6 Flashcards

1
Q

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

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

fixed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

fluid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

width

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

absolute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

is positioned relative to the browser window

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

clear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

For a three-column layout, you can

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly