transfer inline styles from canvas to wrappingdiv