Element types Flashcards
1
Q
inline - properties
A
- respect left & right margins and padding, but not top & bottom
- cannot have a width and height set
- allow other elements to sit to their left and right.
2
Q
inline-block - properties
A
- allow other elements to sit to their left and right
- respect top & bottom margins and padding
- respect height and width
3
Q
block - properties
A
- respect top & bottom margins and padding
- respect height and width
- force a line break after the block element
4
Q
Stop text wrapping
A
white-space: nowrap;