Within any residential district, no wall or fence shall exceed eight feet in height within or along a boundary of a rear or side yard. Within the front yard, all fences shall have a height limit of four feet.