Inspect the element and take a look at the Computed tab. You will see that your browser is overriding your declaration and still treating the select box as inline-block.
Those elements are supposed to be inline-block by default, but when i change their display property to “inline”, they keep behaving like inline-block. Their width and height is still respected. I don’t understand why? Same thing doesn’t happen with a Div element.