Jump to content

Style hyperlink into a radio button


dreamwest

Recommended Posts

Do you mean, make a hyperlink into a functioning radio button? If so, then no, you cannot do that with CSS, nor would it be a good idea.

 

Now, you can add a picture of a radio button as a background to your hyperlink, but that would be a purely cosmetic change, and would not change any functionality.

 

a.radiobutton
  {
    padding-left: 15px;
    background: #fff url(radiobutton.png) 0 50% no-repeat;
  }

 

I'm not sure I understand you question, though. If I didn't answer it, then care to clarify?  ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.