seperated styles from markup