Friday, May 28, 2010

Changing CSS on the fly

Hi, is there a way to change a CSS Property inside a Rule definition
on the fly.

I have defined a rule

.myRule {
height: 22px;
width: 100px;
overflow: hidden
}

I have hundreds of DIV elements with that rule.
I will like to change the width property directly on the rule. Without
iterating all the elements and
inlining the new width.


Is that possible?

Thank you

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment