adding display: inline-block; to stylesheet