"No, the aim, I believe, is WORD --> word --> Word" Yes, that is exactly what I'm after. As Jack said, the text come from an external source that I don't have control of it. They can come as TEXT, text, Text, TeXt so on, and I wanted to know if it can be converted to 'Text' (capitalized) using just CSS. Unfortunately, it seems that we can't do that with CSS, yet. I might have to do it with javascript.
Thanks all. On Fri, Sep 19, 2008 at 9:33 PM, Jack Timmons <[EMAIL PROTECTED]> wrote: > On Fri, Sep 19, 2008 at 12:08 AM, Holly Bergevin <[EMAIL PROTECTED] > >wrote: > > > From: Chang Huang <[EMAIL PROTECTED]> > > > > >Thanks all. It would be nice to have the option 'text- > > >transform:lowercase capitalize;' though. > > > > I guess I'm missing the point here, but when I type, I "automatically" > type > > words with capital letters at the beginning and lowercase ones following > as > > needed. > > > > And It Seems To Me That It's Not That Hard To Do It For Every Word If > > Needed. > > > > Though for the most part, that looks a bit strange. I guess it might be > > useful for a headline or something like that. > > > > Anyway, my $.02 USD > > > > ~holly > > > > > Perhaps the data he is working with is coming from an external source where > everything is typed in all caps. While there are JavaScript and PHP based > ways to do what he desires, he may not be a coder in the regard, and is > looking for a way within his own means of converting the data to a more > presentable format. > > Remember, we only know the situation in regards to what we're told. Being > disparaging about his question isn't what this list is about: He offered a > valid question which, unfortunately for what he wanted, was shot down. > > To get a bit more off topic, Chang, if you don't know JavaScript well, you > can accomplish it using something like this: > > document.onload = function() { > document.getElementById("YouIDNameHere").toLowerCase(); > } > > And then rely on the text-transform: capitalize to make it look decent. > > -Jack > -- > -Jack Timmons > http://www.trotlc.com > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/