Is there a way to ensure that radio buttons and their labels appear in the same line? I've tried adding margin and padding properties to the span tag, but it doesn't seem to work. Any suggestions on how to solve this issue?
<form class="navbar-form pull-right" style="">
<input type="radio" name="sex" value="male"><span>All</span>
<input type="radio" name="sex" value="female"><span>Name<span>
<input type="radio" name="sex" value="male"><span>Vendor No.<span>
<input type="radio" name="sex" value="female"><span>Contact<span>
<input type="radio" name="sex" value="male">Address<span>
<input type="radio" name="sex" value="female">Phone
<input class="span2" type="password">
<input name="Finish" value="Search" class="checkout-button searchButton" type="submit" style="width: 107px;padding-left: 0px;padding-right: 0px;">
</form>