Add border and background to text