Hi,
I'm having a problem getting the contents of a div capitalized on the first letter of each word. It seems to work when the entered text is a mix of upper and lower case...or if the text that's entered is all lower case, but when it's entered all in uppercase, it leaves it that way (all caps) and doesn't change it to only capitalize the first letter.
Here's my style code:
and in the div I have:
Thanks for any tips.
I'm having a problem getting the contents of a div capitalized on the first letter of each word. It seems to work when the entered text is a mix of upper and lower case...or if the text that's entered is all lower case, but when it's entered all in uppercase, it leaves it that way (all caps) and doesn't change it to only capitalize the first letter.
Here's my style code:
Code:
#announcements {text-align: center; font-weight: bold; text-transform: capitalize; background-color: #F8B969}
and in the div I have:
Code:
<div id="announcements">BLAH, BLAH, BLAH</div>
Thanks for any tips.