added inline-block support