A CSS Oddity (no one will care about)

I read some article, which mentioned CSS' text-transform a few hours ago. That made me remember using PHP's ucwords for the title tag. "Hey, I could have done that with CSS instead", I thought. For a split second that is. Obviously it's a silly idea – search engines won't give a damn and will display it in lowercase on the results page either way.

But in theory it should work, right? It's just another element in the DOM and JavaScript can also change the title.

Well, it doesn't work. Neither Firefox, Opera nor IE will apply any text-transform or change/add something to the content.

At one hand that asymmetry is a bit unexpected, but on the other hand it would be also really weird if it would work, because it's amazingly pointless and no one should ever do that.

Comments

bipolar

i think you are somewhat bipolar-psycho :)

Nah...

I can assure you that we certainly aren't schizophrenic. ;)

Ehm...

this blog post is about the title (<title>...</title>). It does work elsewhere of course.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options