Nails are more flexible and will give a little more with hardwood flooring, so they're often the choice for panel installation. Because the wood expands and contracts as a reaction to moisture, nails provide a more flexible fastening job.