horizontal chained select with jquery

51 Views Asked by At

I found an example online, but I couldn't get list items horizontally like here, whatever I did, they came vertically. Any help is appreciated. The example is here

1

There are 1 best solutions below

1
On

If you set the style of each scroll menu to "display: inline-block" they should show up horizontally. Here is a simple example with divs...

<div style="background-color: black;display: inline-block;width: 100px;height: 100px;"></div>
<div style="background-color: black;display: inline-block;width: 100px;height: 100px;"></div>
<div style="background-color: black;display: inline-block;width: 100px;height: 100px;"></div>