View Full Version : change css dinamicaly

Michael J.
25 Nov 2010, 11:50 PM
Hello, I have 2 similar problems.
First - I want to change ProgressBar style - for example if progress is more then 90% change the color of progress line. Im looking for some way without creating class in .css file - just to add style dinamically from script.

And the second - Im using table Layout to disblay components(not text) in cells, but cannot set allign = 'center', I found the suggestion for text content, but no for components, I think the dessigion is the same - to aplay css style dynamicaly but I dont know how.

Thanks in advance.