fieldset same line

33528 picture 33528 · Feb 22, 2013 · Viewed 16.4k times · Source

I have 2 fieldsets:

<fieldset> first fildset </fieldset>

<fieldset> second fieldset </fieldset>

how can I place them in same line?

Answer

Cristian Lupascu picture Cristian Lupascu · Feb 22, 2013

You can set their display css property to inline:

<style type="text/css">
  fieldset.inline {
    display: inline;
  }
</style>

<fieldset class="inline"> first fildset </fieldset>
<fieldset class="inline"> second fieldset </fieldset>

Here's how the result looks: http://jsbin.com/aseyej/1/edit