Element types Flashcards

1
Q

inline - properties

A
  1. respect left & right margins and padding, but not top & bottom
  2. cannot have a width and height set
  3. allow other elements to sit to their left and right.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

inline-block - properties

A
  1. allow other elements to sit to their left and right
  2. respect top & bottom margins and padding
  3. respect height and width
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

block - properties

A
  1. respect top & bottom margins and padding
  2. respect height and width
  3. force a line break after the block element
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Stop text wrapping

A

white-space: nowrap;

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