1. Home
  2. Computing & Technology
  3. Web Design / HTML
photo of Jennifer Kyrnin
Jennifer's Web Design / HTML Blog

By Jennifer Kyrnin, About.com Guide to Web Design / HTML since 1997

Transparency - not just for corporations

Wednesday July 1, 2009
One of the nice things about time is that eventually most CSS features become supported by the major browsers. When I first wrote about opacity several years ago, it wasn't widely supported. Having the browser fade an image or make it transparent was a pipe dream and the best you could hope for was a photoshopped image layered on top of text with z-index positioning. But now it's more widely supported and there are some great effects you can do with it. But first you need to learn how to do opacity with CSS. And that tutorial from Coding Cow is helpful and pretty.
Comments
July 1, 2009 at 9:17 pm
(1) Matt Ellis says:

Thanks for featuring CodingCow on this article, appreciated!

July 2, 2009 at 8:41 am
(2) Alexander says:

I usually use JS for the opacity, or conditional comments (I need a MSIE voodoo doll!), so my page would validate.

July 2, 2009 at 12:49 pm
(3) Jennifer Kyrnin says:

Alexander: but if JS is turned off, your opacity disappears just as if they were using IE. :-)

July 3, 2009 at 11:57 am
(4) Tim says:

And how many people actually turn off JavaScript? There’s more chance of people not having an up to date browser.

July 3, 2009 at 1:41 pm
(5) Jennifer Kyrnin says:

The percentage of people who turn off JavaScript often depends upon your audience. One site I worked on had an audience that was very security conscious and many of the people felt that JS was a security risk. So they turned it off. Another site I worked on focused on Ajax and so everyone had JS on all the time.

My point was less about the specifics of JS but more that you should be aware of your customers and that a “solution” that you find may not be a solution for everyone. As you point out, older browsers might not support it either.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Community Forum
Explore Web Design / HTML
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.