CSS Positioning Flashcards
1
Q
What is the default value for the position property of HTML elements?
A
position: static;
2
Q
How does setting position: relative on an element affect document flow?
A
Does not affect
3
Q
How does setting position: relative on an element affect where it appears on the page?
A
it could off set it
4
Q
How does setting position: absolute on an element affect document flow?
A
it sits on its own layer separate from everything else
5
Q
How does setting position: absolute on an element affect where it appears on the page?
A
it can interfere with other elements on the page
6
Q
What are the four box offset properties?
A
top, bottom, left, right