[jQuery] Re: click(function{ problem with Firefox

2009-12-24 Thread turnavies
ah look at that, img is an inline element :D standards ftw! On 24 dec, 23:10, turnavies wrote: > Thanks for your replies! > FF is happy now, although it's not fully standards-compliant (I still > have an img inside my label), but the code is a lot cleaner and it > works on the major browsers (hav

[jQuery] Re: click(function{ problem with Firefox

2009-12-24 Thread turnavies
Thanks for your replies! FF is happy now, although it's not fully standards-compliant (I still have an img inside my label), but the code is a lot cleaner and it works on the major browsers (haven't tested IE though :D) Nice diagram! Thomas

[jQuery] Re: click(function{ problem with Firefox

2009-12-24 Thread Šime Vidas
Yea, that happens if you don't follow the standard some browser will break your code :) For a comprehensive overview of propper HTML nesting rules, consult my diagram: http://vidasp.net/HTMLstructure.htm