When it comes to a fence around a garden to keep dogs out, the design and functionality become even more important. Dogs can be persistent and may try to dig or jump over barriers, so the fence needs to be sturdy and effective. Here are some design ideas to consider:

1. Height: The fence should be high enough to prevent dogs from jumping over it. A minimum height of 4-5 feet is recommended, but it may need to be higher if the dogs are particularly large or athletic.
2. Material: Choose a material that is durable and resistant to wear and tear. Some options include wood, vinyl, aluminum, chain link, and wrought iron. Chain link and welded wire mesh are good options for preventing dogs from digging underneath.
3. Solid or Open: A solid fence will block the view of the garden, while an open fence will allow for visibility. If you want to keep dogs out but still show off your landscaping, consider a fence with some decorative openwork.
4. Design: Choose a design that will complement your home and garden. Some popular fence styles include picket, ranch, split rail, lattice, and privacy.
5. Gates: Make sure the gate is also secure and dog-proof. It should be tall enough to prevent jumping and have a secure latch that dogs cannot open.
In conclusion, choosing the right fence design for your garden will not only keep your dogs out but also enhance the aesthetic appeal of your home. Make sure to consider the height, material, design, and gate to ensure a functional and attractive fence.