switching inline to style block