David J David J - 1 year ago 79
CSS Question

How can I align these search filters horizontally?

I'm trying to align the search filters at https://www.violinschool.org/video-testing/

so that they appear horizontally instead of vertically.

What would be the best way to do this? I am reading about an 'inline block' using CSS but not sure if this is the best solution.

Thank you!

Answer Source

Yep inline-block is what you need, from looking at your markup you need to target html elements with the class form-item:

    display: inline-block;
    margin-left: 10px;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download