This is my adorable grandson:
We live on five and a half acres; while it's fenced completly, it's not what you'd call "contained", especially if you have a rambunctious toddler.
Here is how my husband, said child's loving grandfather "contained" the child:
We live in the country, we have cattle panels; while we don't have cattle yet, we're ready for them. Cattle panels are great for all kinds of things, like staking peas...and containing toddlers. And yes, those are mini bungee cords holding this to the deck.
I think Better Homes and Garden's will be calling me soon.