put a border around the text part