Re: [WSG] Image in a label in IE

2007-05-22 Thread Paul Collins

Interesting, I will have to see how I can apply this to an image in a
label, will come in handy definitely at some stage either way.

Thanks for your help Sam.

On 22/05/07, Samuel Tan [EMAIL PROTECTED] wrote:

http://www.chriserwin.com/scripts/crir/

This is a script that does that. It's a good reference i guess.

Sam

Paul Collins wrote:
 Hi all,

 Just encountered a problem where IE won't do anything if you add an
 image inside your label, that is you can't click on the label to
 activate the radio, checkbox etc.

 I found this idea, which sounded good, but the Javascript conflicts
 with another onclick event. Just wondering if anyone had found a CSS
 solution since 2005 when this one was written?!

 http://snook.ca/archives/javascript/using_images_as/#c

 There is also this, but it doesn't seem to work in IE 5.0 for me.
 http://riddle.pl/-/xhtml/css-img-in-label/fixed.html

 Any ideas?!

 Cheers
 Paul


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Image in a label in IE

2007-05-21 Thread Paul Collins

Hi all,

Just encountered a problem where IE won't do anything if you add an
image inside your label, that is you can't click on the label to
activate the radio, checkbox etc.

I found this idea, which sounded good, but the Javascript conflicts
with another onclick event. Just wondering if anyone had found a CSS
solution since 2005 when this one was written?!

http://snook.ca/archives/javascript/using_images_as/#c

There is also this, but it doesn't seem to work in IE 5.0 for me.
http://riddle.pl/-/xhtml/css-img-in-label/fixed.html

Any ideas?!

Cheers
Paul


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Image in a label in IE

2007-05-21 Thread Samuel Tan

http://www.chriserwin.com/scripts/crir/

This is a script that does that. It's a good reference i guess.

Sam

Paul Collins wrote:

Hi all,

Just encountered a problem where IE won't do anything if you add an
image inside your label, that is you can't click on the label to
activate the radio, checkbox etc.

I found this idea, which sounded good, but the Javascript conflicts
with another onclick event. Just wondering if anyone had found a CSS
solution since 2005 when this one was written?!

http://snook.ca/archives/javascript/using_images_as/#c

There is also this, but it doesn't seem to work in IE 5.0 for me.
http://riddle.pl/-/xhtml/css-img-in-label/fixed.html

Any ideas?!

Cheers
Paul


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***