The new attribute display:inline-block
seemed like a useful alternative to doing display:block
+ float:left/right
, but the strange interval / space behavior that it introduces seems to deny this convenience. (See here ). In addition, browser support is spotty and needs to be fixed, although this will obviously change.
Accordingly , Yahoo's user interface uses it heavily, but why? Is there a convincing argument for using an inline block?
Yarin source
share