And here goes a complete solution how to change attached css dynamically: http://www.alistapart.com/articles/alternate/