Local town and state codes mandate what is usually a safe railing for a deck. Four inch spindle spaces are becoming more common among codes. Also, 36 inches in height from the decking to the top of the railing are becoming standard practice in the United States. Railings should be constructed so a child will have a hard time climbing up. Check with your local town building official for railing requirements for you town.