My neighborhood does in fact ban any kind of front yard fence, and I'd have to check but the only backyard fences I recall seeing are those around pools, which are legally required for child safety reasons.