A horticultural container for attaching to a railing, including a planter body, at least one leg extending downward from the planter body, and a connecting device. The planter body rests on top of the top rail of the railing, while the legs straddle the top rail. The connecting device attaches to each leg below the top rail, and receives balusters of the railing.