Brandon Aaron schreef:
> I would suggest using a seperate style sheet. Keeping styles where
> they belong (style sheet) makes the whole application/web site more
> flexible and I'm not just talking about screen styles.
>   
Jörn Zaefferer schreef:
> The best approach may be to load an additional stylesheet only when 
> necessary. That allows you to define your styles in the most natural 
> way, avoid tons of inline styles. The latter may not be obvious, but 
> could cause serious performance problems.

What i understand from Brandon and Jörn, thank you for the quick 
reaction, is that it's better to have something like

$(function(){
            $('head').append('<link rel="stylesheet" href="jquery.css" 
type="text/css">');
        });

Than using css styles in the plugins. I understand how you could have 
performance issues with inline styles. So the best way to style plugin 
elements is to use classes and ids as much as possible.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to