How to put 2 inputs side by side?

2

How can I put 2 input aligned side by side?

<li><inputtype="text" /><input type="checkbox" />
</li>
    
asked by anonymous 30.12.2014 / 01:22

1 answer

1

.campo1 {
   float:left;
}
<input type="text" class="campo1" />
<input type="checkbox" />
    
30.12.2014 / 01:26