style and format the info box