Locate where you want a divider. If it is a long area of more than 4 feet, you will need more than two posts to support the divider.
Measure off and mark the ground every four feet along the divider line.
Dig holes for each post where you marked. Dig down 3-1/2 feet.
Fill each hole with 6 inches of gravel and pack it down.
Insert 9-foot long, 4-by-4 posts in each hole.
Tie four pieces of twine around the posts midway from the ground and the top of the post. Tap stakes in the ground on each side of the post and tie the other end of the pieces of twine to the stakes to hold the posts up. Use a level while you tie the twine in order to keep the posts straight.
Add cement mix and water to a bucket according to the directions. Pour the cement into each hole and let it dry for a day.
Place lattice panels up between two posts and attach them with screws. Use a drill to create pilot holes along the sides of the lattice before hanging it up. Insert the first screw into a top corner. Adjust the panel with the help of a level to ensure it's straight and then insert a screw on the other side. Add more screws to finish each panel.