Use lowercase for articles (a, an, the), coordinating conjunctions (and, but, or, for, nor), and prepositions, regardless of length, unless they are the first or last word of the title. Wikipedia has a list of different ways title case can be applied.