adding styleing to contents