Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I apply padding within a select dropdown box?

Tags:

html

css

I have two types of input. A select dropdown box, and a regular input.

On the input, I have added a padding: 10px; that makes it look big.

The issue is once I put the select box beside it, they are both different heights.

How do I either apply the padding to the select, or make it the same height as the input.

Here is a live example.

Edit 1

This is how it looks to me: enter image description here

like image 624
marcamillion Avatar asked Aug 25 '26 14:08

marcamillion


1 Answers

Try adding -webkit-appearance: none at least to the <select> but possibly to both. OSX really wants their controls to look apple-y

like image 116
Explosion Pills Avatar answered Aug 28 '26 06:08

Explosion Pills



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!