You can use ul li
list to get it working, wrap your input
and label
with li
and style it with display: inline-block;
HTML
<p>Are you sure you want to have your details removed from our marketing list?</p>
<ul>
<li>
<input type="radio" name="iCheck">
<label>Yes</label>
</li>
<li>
<input type="radio" name="iCheck">
<label>No</label>
</li>
CSS
ul {
list-style:none;
}
ul li {
display: inline-block;
margin-left: 15px;
}