Two Ways to Make Doweled Corner Joints Line Up Every Time
Dowel holes have to match on both boards or the joint never closes. Mark both pieces off their own edge with a shop-made screw gauge, or drill one board and copy the positions across with dowel centers.