Inline/Block elements


#1

Hello everybody,

I have a question about the lesson number 12. about the inline/block elements.

Inline-block display means that the block element behaves as a inline element but retains some of its features as a block element. When i change in the exercise 12. the display property of the list items to inline-block the web page changes but i do not see the properties of the block element. Could someone explain me these features which i do not see. :slight_smile:

Thanks


#2

inline elements only take up the space they need. Take a look at this example, now if you where to change inline to inline-block maintain there size. That is a block property


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.