inline vs inline-block

Hey all,

 

I know the difference between display:inline and display:inline-block, but I
was wondering if there's a good reason why someone would prefer inline over
inline-block? The only reason that I can think of is if you want to
hard-block top/bottom paddings/margins, but are there any other things that
display:inline can handle which inline-block can't?

 

Or put differently, is there still a use-case for applying display:inline
instead of inline-block (taking browser support out of the equation).

 

Greets,

Niels Matthijs

http://www.onderhond.com

 

Received on Friday, 3 May 2013 09:54:54 UTC