Walls and fences may be located within required yards, except that in a residential district: (1) No fence or wall in a front yard shall exceed a height of four feet. (2) No fence or wall in a side or rear yard shall exceed a height of eight feet.