Radio button square |
Radio button square |
tudsy |
Dec 3 2014, 10:35 AM
Post
#1
|
Advanced Member Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 |
Hi
Just a stupid question. How do I put a yellow square around a radio button? Any help will be greatly appreciated? |
Christian J |
Dec 3 2014, 10:44 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
You could give it a border with CSS.
|
Christian J |
Dec 4 2014, 06:13 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
You could give it a border with CSS. Seems this is still not supported by Firefox and Chrome browsers. CSS outline is supported better. Or you might put e.g. a SPAN element around the INPUT, and give the SPAN a border instead (you may have to adjust the vertical-align style of the SPAN, and the margin of the INPUT). See also http://www.456bereastreet.com/archive/2004..._form_controls/ |
Lo-Fi Version | Time is now: 23rd April 2024 - 06:11 PM |