Changing a class dynamically

Reading docs, it seems that this is a bit messy - IE requiring special handling. Looks to be far easier just setting the styling on the elements. http://stackoverflow.com/questions/3164740/can-jquery-change-css-style-definition-not-individual-css-of-each-element