Battery corrosion on painted parts

How do you keep the corrosion from building up on the battery tray and inner fender apron ? i have a battery tender on over the winter months and have noticed a build up of corrosion on the battery tray and down the side of the battery case i have a extra heavy ground cable but still have a mess !