Converting inline to style sheet