Ryan Doherty has a really nice walkthrough on “Cross-Browser Inline-Block” that helps us in creating a ready to use CSS inline block that expand to fit, if content is bigger. The block can be handy in displaying picture gallery, 125×125 ads or many other usage on your website / blogs.
Look at the final code below:
This is awesome
More info:Cross-Bowser Inline Block