Dynamic JS Documents Flashcards
What is absolute positioning?
Element positioned at coordinates relative to the first parent element that is not static
What is relative positioning?
Element positioned at coordinates relative to its normal place (top, left)
What is fixed positioning?
Element positioned at coordinates relative to the browser window (top, left)
What is static positioning?
Default, positioned at its normal position
In which cases can elements be moved after display?
Absolute or relative
How to delay a function?
setTimeout(statement, milliseconds)
What is the difference between display and visibity?
What are the possibilities for visibility and for display?
display: none/block/inline
visibility: visible/hidden
While a hidden element still takes up space, the element set to display: none will not take up any space