[jQuery] Re: Zebra (stripes) Widget vs Colgroups (CSS)
Instead of having specifically adding custom code like td class=red into your table, let jQuery do the work for you. (much simpler, particularly if the table's code is generated dynamically, and you can't modify it.) For example, to override the zebra background on the first and 3rd columns of a zebra striped row, you could do something like: $(table.zebra tbody tr:odd td:first-child).addClass(red); $(table.zebra tbody tr:odd td:nth-child(3)).addClass(red); sly
[jQuery] Re: Works in IE7 but not IE6
That's what I have now: a simple jQuery action and as far as IE6 is concerned it is not there at all. At this point, the issue could be related to jQuery itself, or to the css for mainDiv. That's why I recommended something simple like an alert, so that you could determine if the issue is actually with the jQuery framework, or if it is related to IE6's quirky css model. Can I save each script file using UTF-8 encoding in Notepad? If not, how do I do it? Notepad does allow you to save files with UTF-8 encoding, BUT it prefixes the file contents with a Byte Order Mark (usually called 'BOM'), which causes a lot of problems, so I wouldn't recommend using notepad for this. Honestly, this may not be the issue at all -- that's why I suggest trying some other option to determine if jQuery is running in IE6 before you worry about the file's encoding.
[jQuery] Re: Works in IE7 but not IE6
My suggestion was that you may want to make sure that your jQuery scripts and/or plug-ins are encoded as UTF-8. To do that, you would need to open and save each script file using UTF-8 encoding. File encoding may not be the issue at all. I've been unable to tell from your post if the problem is with jQuery itself or with a plug-in script. Have you verified if jQuery is running at all in IE6? For example, create a new page and insert a simple jQuery action that would let you know if it's running (such as an alert message).
[jQuery] Re: Works in IE7 but not IE6
I'll agree with the others that it's hard to trouble shoot without some code. The only time I've had issues with IE6, it was due to inconsistencies in file encoding. We encode all of our pages and scripts as UTF-8, and the validation plug-in was ISO-8859-1. Once I encoded the plug-in source file in UTF-8, it solved our IE6 issues.