|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Anchor tag inside of a label tag
i use inputs/labels/css a lot to do form styling, however i came across a problem where a link is inside where i normally have my styled label. is there any way to make a link not affect the checkbox without taking it outside of the label?
|
|
#2
|
||||
|
||||
|
Not without using JavaScript, which is not really suitable for that.
I've wanted to do that myself on occasion. Perhaps you could use CSS to position the <a> on top of the <label>.
__________________
Spreading knowledge, one newbie at a time. Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions IE7: the generation 7 browser new in a world of generation 8 browsers. Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around. |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Anchor tag inside of a label tag |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|