Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text inside of a radio button

Status
Not open for further replies.

JWP1

MIS
Mar 21, 2005
18
0
0
US
Does anyone know how to put text inside of a radio button? I have 4 radio buttons and the user wants them labeled 1-4 but he doesn't want the labels next to the radio buttons. He wants them inside of the buttons. Does anyone have any idea of how to do this? Thanks in advance for your responses.
 
You can't. Radio buttons are tiny little circles. where would you fit any text?

Tell your user what he wants is not possible, short of creating your own radio button graphics, and recreating the behavior via Javascript.

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
I agree, it's a silly request. But, for the sake of argument, can a radio have a background color? If so, can it be transparent? If so, one could layer a transparent radio over a text div.

-Geates

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
- Martin Golding

"There are seldom good technological solutions to behavioral problems."
- Ed Crowley, Exchange guru and technology curmudgeon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top