Things You'll Need
Instructions
Cut your stock into four pieces, each that measure 29 1/4 inches long. If you'd prefer thinner legs, you use smaller stock or cut some width from each length of stock at this point. Make sure all the pieces are the same length, and the same width, if you made any adjustments.
Sand your legs smooth, and then wipe away any dust with a tack cloth. Paint or stain your legs to match your tabletop. Allow the paint or stain to completely dry before proceeding.
Turn your tabletop onto its face. Dry fit your legs against the underside of your table. Place each leg against one of the four corners of the table, match all the edges, and then draw an outline of the table legs' tops onto the underside of the table.
Place your hinges against the boxes you just drew. Put one hinge against each box, with each hinge facing the center of the table. Mark your hinges' screw holes on the table.
Drill pilot holes into the screw holes you marked, and then attach the hinges to the table's underside using those pilot holes and hinges' attached hardware.
Dry fit your legs against the hinges you just attached, and mark the screw holes for the hinges onto your legs. Drill pilot holes into the legs before attaching the hinges to the legs with your hinges' remaining screws. Your legs are now attached to the table, but can be folded beneath the tabletop when necessary.