split css attributes from box and add to image-box, profile-box