Use inline-block instead of test for fireefox