Complete novice question. I’ve used jQuery a bit, YUI not at all and know very little about it.
I work on a website thats IE specific, we’re now looking at making it cross browser. jQuery seems great at hiding the differences between browsers from a javascript point of view. However in terms of css layout is it YUI that I should really be looking at?
thanks
Seems to me you’re concerned about both CSS and JavaScript compatibility, which means it isn’t a choice between YUI and jQuery – you can use both! Personally, I use YUI only for its CSS reset…
http://developer.yahoo.com/yui/3/cssreset/
This allows you to remove any default styling (paddings, margins, etc) that are built into browsers by default. This will give you a nice level playing field to start off with. As for JavaScript, I find that jQuery is simplest and most documented javascript library out there. Like you say, it hides the differences in various browsers, but it also comes with a whole heap of experienced users willing to help you out.
Hope this helps!