html - Align <select> combobox vertically? -


i have css style <select> comboboxes:

select { margin: 10px 0 0 40px; min-width: 100px; } 

i want align 2 comboboxes vertically. tried following, doesn't work:

<form>    <select>      ...    </select>    <br /> <!-- has no effect -->    <select>      ...    </select> </form> 

instead, positioned horizontally. please help!

change css to:

select { margin: 10px 0 0 40px; min-width: 100px; display:block; } 

on side note, given code posted above only, should work fine without having use display:block. must have other css causes them inline.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -