Quantcast
Channel: Evenly align and make responsive for dropdown lists HTML/CSS - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Evenly align and make responsive for dropdown lists HTML/CSS

$
0
0

I have a few options laid out on HTML with dropdown lists, using the 'select' tag. I want to make them responsive so that when the screen is resized, it will slowly stack on top of each other evenly. Right now, it is somewhat responsive, but it is not aligning evenly. I want to make all the titles and the dropdown lists evenly aligned. I tried to do:

text-align: right;float: left;padding: 5px;margin-top: 10px;

but this does not solve the problem. Any advice would be greatly appreciated!

So the top should have 'home type' and 'address'; 2nd row should have 'age range' and 'clubs' and 'payment type'; then last row should have 'start date' and 'end date' when it is full screen. Each dropdown list should align evenly (so for example, home type dropdown would align with age range and start date; address would align with clubs and end date; and age range would be aligned by itself at the end)

JSFiddle: https://jsfiddle.net/q3h0qkhm/2/


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images