CSS Lynda Flashcards

1
Q

3 different ways to apply css

A

external stylesheet
style attribute, ex: style=
style tag, ex:

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

What does the font measurement em mean?

A

vertical size of the font

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

How do you calculate the total box size

A

content + padding + border + margin

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

How do you make internet explorer follow the standard way of interpreting the box model for your external css file?

A

at the top of your external css file include the standards mode code with nothing above it not even comments

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

What happens to the children of a parent element when you put position relative on the parent?

A

It positions children elements relative to the parent

it creates a reference point for absolute positioning.

relative positioning doesn’t change the position of the element it is placed on

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

What is fixed positioning relative to

A

the window

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

What is the requirement to place z positioning?

A

the element must have a position

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

Why does content go underneath floats?

A

floating removing it from the layout positioning

however inline items will move around floats

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

What is padding?

A

space added inside of the border

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

Do vertical margins collapse?

A

Yes

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