Fixed bug in css method.