Best combination I've found is galvanized posts, treated cross members, cedar slats. Have one that's been up right at 25 years and is still strong and looks good. Neighbor on the other side didn't want to pay for cedar (shared install) so went with treated slats. Five years old and is looser and looks worse than the 25 year old cedar.