David schrieb:
> 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.
I hope someone who actually worked with something like that shares his
experience here.
> So the best way to style plugin
> elements is to use classes and ids as much as possible.
>
IDs would only work with applications like Thickbox, where only one
instance can be active at the same time. In most other cases, it might
be good to mark a container with a class and style the children accordingly.
--
Jörn Zaefferer
http://bassistance.de
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/