How do I make a paragraph sentence Case (first alphabet of each word capital) in CSS? Thanx for your help.
Use text-transform: capitalize. For example, if you want to capitalize the first letter in a h1 then use h1 {text-transform: capitalize;} or for a whole paragraph, use p {text-transform: capitalize;} Just give the paragraph a class name if you dont want it applied to all paragraphs. p.class_name {text-transform: capitalize;} and in your html you'd have something like this: <p class="class_name">your paragraph text</p>
Ah, that's because it only capitalizes the first letter which is already capitalized. You actually want to get the other letters to lower case! I don't know if that's possible but maybe someone knows ...
I'm very confused as what you want to accomplish. You state you want First letters capitalized, well the code gazu does exactly that. Then you state that they're already capitalized which makes absolutely no sense to me why you would need CSS to do something that's already been done for you. Please be more precise as in what you want.