+ 1

What is the difference between inline-block and block?

14th Jul 2016, 5:08 AM
Sergej Scherbakov
Sergej Scherbakov - avatar
4 Respuestas
+ 10
Inline-block elements: allow other elements to sit to their left and right respect top & bottom margins and padding respect height and width
14th Jul 2016, 10:40 AM
Awele Omeligwe
Awele Omeligwe - avatar
+ 8
Inline elements: 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.
14th Jul 2016, 10:38 AM
Awele Omeligwe
Awele Omeligwe - avatar
+ 7
Block elements: respect all of those force a line break after the block element
14th Jul 2016, 10:39 AM
Awele Omeligwe
Awele Omeligwe - avatar
0
great
17th Oct 2016, 11:56 AM
Bobi arip budiman
Bobi arip budiman - avatar