I'm trying to make sure that both the 'select' and 'button' elements have the same height.
Here's the HTML code:
<select><option>...</option></select><button>Button</button>
And the CSS:
* {
font-size:100%;
}
select, button {
border:1px solid gray;
padding:.4em .6em;
margin:0;
//box-sizing:border-box; (did not help...)
}
Currently, it looks like this:
But ideally, it should look like this:
Is there a way to achieve this without altering the CSS?