PHP Developers Network
http://forums.devnetwork.net/

Making radio buttons show up to the right
http://forums.devnetwork.net/viewtopic.php?f=68&t=141273
Page 1 of 1

Author:  Christopher [ Fri May 08, 2015 1:19 am ]
Post subject:  Re: Making radio buttons show up to the right

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"> ...

Author:  Celauran [ Fri May 08, 2015 9:06 am ]
Post subject:  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.

Author:  lindseynicole [ Mon Oct 05, 2015 3:13 am ]
Post subject:  Re: Making radio buttons show up to the right

<label for="name">Name:</label>
<input type="radio" name="name" id="name"/>

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/