CSS positioning Flashcards

1
Q

What is the default value for the position property of HTML elements?

A

statisic

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

How does setting position: relative on an element affect document flow?

A

doesn’t break normal flow

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

How does setting position: relative on an element addect where it appears on the page?

A

it doesn’t but values of top, right, botton & left

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

How does setting position:absolute on an element affect document flow?

A

absolute allows you to posion anywhere you like.

is removed from the norma document flow

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

How does setting position: absolute on an element affect where it appears on the page?

A

top

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

How do you constrain an absolutely positioned element to a containing block?

A

using the any non-statisic(fixed, relative) position

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

What are the four box offset properties?

A

top, right, bottom, left

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