removes unwanted info and updates styles.  moves inline to css