How far apart do studs have to be when building a deck?

I am rebuilding a deck and just need to know what code is for how far apart the floor joists have to be?

Fred ~ Lawrence, Maine

This is a very general question, and I would need more specific information about your deck to answer accurately. Depending on the surface you plan to use, the spacing will vary. Most composite deck surfaces will require 16-inch-on-center joist spacing and 2x dimensional wood can usually span up to 24-inch-on-center joist spacing. Beyond the joist spacing, you will need to know how far the joists can span: 2-by-6, 2-by-8 and 2-by-10 joists all have different span ratings. The span distance will also be affected if there is a snow load requirement in your area. A quick call to the local building department will generally be able to answer basic structural questions; however, the spacing for joists will ultimately be determined by the manufacturer of the surface you intend to use. Good Luck!