adding styles to boxes.