Brandon Aaron schrieb:
> 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.

Yes. Mentioning media types is a good idea:

In IE inline styles can't be overruled (in modern browsers you can use 
the !important delaration). That means if you set 'display: none' in a 
script you won't be able to print that element any longer, i.e. it is 
not accessible. That may not be important in all cases and for all 
plugins, but there are cases where it is.

I took care of that in the tabs plugin for example. If you print a page 
you most likely want to print the content of all the tabs and not only 
the one that is currently selected.

So tabs uses classes to hide elements, and if animations are used the 
properties that were altered for the animation are resetted.


-- Klaus




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

Reply via email to