[jQuery] Re: i wish there was a way to get the entire CSS for an element... or is there?

2008-07-16 Thread jquertil
ok fine so I use a class - still having the same lack of understanding: how do I get the contents of the CSS class into a variable?

[jQuery] Re: i wish there was a way to get the entire CSS for an element... or is there?

2008-07-16 Thread Jeffrey Kretz
Paul's site discusses how to access styles for individual elements, as well as stylesheets, stylesheet rules and their properties: http://www.quirksmode.org/dom/w3c_css.html JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jquertil Sent:

[jQuery] Re: i wish there was a way to get the entire CSS for an element... or is there?

2008-07-15 Thread Ariel Flesler
use CSS classes. -- Ariel Flesler http://flesler.blogspot.com/ On 15 jul, 19:35, jquertil [EMAIL PROTECTED] wrote: #myDiv {height:200px;background: #FF9900;} $('#myDiv').css(height'); // returns 200px' but how can I get the whole enchilada so I have it in a nice and neat object? I