burnmw wrote:
> Hi all,
> 
> I'm working with jQuery UI as part of a project and it (the project)
> needs to be fully W3C compliant (in both XHTML and CSS). My XHTML and
> my own CSS files validate correctly, however when I try to validate
> the themed CSS files that I've downloaded from here I get nearly 40
> errors telling me that certain properties don't exist, and there are
> also a few parse errors.
> 
> Can anyone give me any advice? Has anyone else noticed this issue?

I'm not a jQuery developer, but...

Some of those attributes are probably browser specific and are there to
make them work.  You probably see a lot of "zoom: 1" entries that are
there so that Microsoft IE <=7 will attempt to display correctly.
Without it, things appear / disappear, play peak-a-boo, and just not work.

Just from reading the documentation, jQuery UI aims to support a wide
range of browsers, including legacy browsers such as IE 6 and 7.  If you
remove the offending rules, you might find that some features in IE just
stop working, or work poorly.  You may also get lucky and the rules
aren't necessary for your functionality.

There are a number of options for you.  You need to consider the weights
of validating perfectly, supporting older non-standards compliant /
quirky browsers, maintaining a separate copy of the jQuery UI CSS rules,
 testing multiple browsers, etc.  You might also have separate pages /
files for different browsers if you need a perfect page somewhere, but
that seems like more work.

And to play the devils advocate, what about inline styles that are
non-standard CSS that JavaScript adds?  Is that a deal breaker too?

FWIW, Internet Explorer is just used as an example, other browsers can
be quirky too from time to time.

> Thanks in advance!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to