If you want then inline, you don't need to put them in anything. Just:
<input type="radio" ...><img src="visa.jpg"> <input type="radio" ...><img src="mc.jpg"> ...
Making radio buttons show up to the right
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Making radio buttons show up to the right
You've got them wrapped in divs, which are block level elements. display: inline will fix that.
-
lindseynicole
- Forum Newbie
- Posts: 4
- Joined: Mon Oct 05, 2015 2:11 am
Re: Making radio buttons show up to the right
<label for="name">Name:</label>
<input type="radio" name="name" id="name"/>
<input type="radio" name="name" id="name"/>