add border width for text