Fixed webkit style errors which were due to changes I have made.