Do you know any good article on \"When to use display:block when :inline and when :inline-block\" and why?
and when we will ha
inline - Treats the element as though it were an inline chunk of text. width and height are meaningless
block - Treats the element as as rectangle. width and height can be specified
inline-block - Flows a element inline with the text, but allows width and height to be specified.
Elements default to one of these anyway. For example:
, , -> inline
-> block