CSW131 Exam 2

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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

doesn't move in the browser window, even when you scroll

In the code that follows margin: 0 auto; the auto keyword means

to center element horizontally within the containing block

following sectors applies to <a> element with "hot" as class name

#header a.hot

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

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

valid selector for a class named menu

.menu

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

1.5 em

CCS snippet sets border shadows for this screenshot

3 px, 3px, 4px, 4px, red;

which of the following can you not apply to boxes using CSS3

Pseudo gradient

A child selector in CSS allows you to select elements that

are a direct descendant of element

By default, the element in the box model is

as tall as it needs to be for its contents

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

when you use floating for a 2-column, fixed width page layout you need to make sure

body element is wide enough for the columns

Which CSS snippet would set the border radius for a section element as shown in this screenshot?

border-radius 10 px, 20px, 0 20px

in the box model for an element, the border

is between the padding and the margin

which do you NOT do with CSS3 to create text column

justify text

if you use reset selector for a page you need to set

margin and padding for all elements of page

By default, if you specify a background image for a block element, the image will be

repeated horizontally and vertically so it fills element

You use a reset selector to

set margin and padding for all elements to zero

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

set the body and main width to % and set the aside to fixed

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

solid top and bottom borders

in a 3-column layout that uses floating for page layout, for your CSW131 website project you need to use the CSS to

stop any floating in the footer

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 page

When you set a border for a block element, you can set

the color, style, and width

when you set the float properties for a block element to the left, the elements that follow it will float into the space

to the right of floated element if theres 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 border, top and bottom padding, and top and bottom margins

when you use fixed positioning for a block element you can

use top, bottom, left, and right properties to set its position on the page

when use the float property for page layout, you should also set

width of floated items


Kaugnay na mga set ng pag-aaral

Top 50 Management Interview Questions and Answers

View Set

ATI med surg content mastery practice

View Set

Leadership Succession and Creating a Motivating Climate

View Set

Vietnamese 1-1 - Tiếng Việt (personal pronouns)

View Set

Chapter 9 Part 1 Cost in the short run

View Set

Physics 1 - Chapter 13 - Conceptual Questions

View Set