ch5-6

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

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

Justify the text in the columns as it can cause uneven spacing between words

By default, the box for a block element is as wide as the _____ that it's in

block

When using the three values for a border they ______ have to be in a specific order

do not

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

does not move when you scroll in the browser window

Using CSS position: fixed;

does nothing unless used in conjunction with one or more of the top, right, bottom, or left properties

If you want to use padding to control the spacing before and after h2 element, you should start by setting ______ for those elements to zero

margin

The code that follows: padding: .5em 0 .25em applies this padding to an element

.5em above, 0 left and right, .25em below

Due to margin collapse, if the bottom margin for one element is 1.5em and the top margin for the element below it is 1 em, how large is the margin between the two elements when the page of rendered in a browser?

1.5 em

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

Absolute

Which of the following formatting can you NOT apply to boxes using CSS3?

All answers (linear gradients, rounded corners, shadows) herein CAN be applied

If you set the background color for the body of a page to blue and you don't set the background color for a section within the body, the background of the section will be

Blue

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

Code the columns in any order and then float both columns to the left (relative)

For a three-column layout in any order you desire, you can

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

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

Box model properties allow the following properties to be set

border, margin, padding

By default, the box for a block element is as tall as the ______ requires

content

The z-index property

controls overlapping of elements on the web page

When you use ______ positioning with CSS, the positioned element does the browser window, even when you scroll

fixed

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

liquid

In the box model, the border comes between the margin and the _______ for box

padding

margin: 2px; will

produce 2px margins for all sides of the box

While not the same as using the float property, column-count, column-gap, column-rule, and column-span

quickly allows you to split up content into columns within an element and works on any CSS3 capable browser

By default, if you specify a background image for a block element, it will be _____ both horizontally and vertically so it fills the block element

repeated

padding 1em 3.5em will

result in 1em padding for the top and bottom, and 3.5 em padding for the right and left

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 % (fluid), aside width to px (fixed), and don't set the section width

You use the reset selector to

set the margins and padding for all elements to zero

You can make a block level element's shape as a circle by

setting HSL for border, margin, and padding to 360 degrees

The code that follows: border-style: solid none; means the box should have

solid top and bottom borders

Provided the element is given a width <100%, in the code that follows - margin: 0 auto; the auto keyword means

to center the element horizontally within the containing block

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

To calculate the height of a box when using the box model, you add the height of the content area to the sum of the heights of the

top and bottom borders, top and bottom margins, and top and bottom padding

When you set a border for a block element, you can set the color, style and

width

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

width

margin: 2px 1px 3px 0; will

will create margins of 2px top, 1px right, 3px bottom. and have no left margins


Ensembles d'études connexes

English sac 1 - creative on Nine Days

View Set

EdPuzzle What is Biology? The Characteristics of Life.

View Set

10. Taxation of life Insurance And Annuities - Premiums And Proceeds

View Set

Shoulder Muscles: Origin, Insertion, and Action

View Set

Check Your Understanding 1 (Ch. 1,2,4,7)

View Set