formated css of boxes