Lisa Sabin-Wilson. Designer. Author. Espresso and WordPress addict

For Those Who Care

on: Jun/22/04 and its been viewed 821 times

I had a revelation tonight. CSS coders who are old hands at this will probably laugh and say “Pffft! Girl! I knew THAT ages ago!”

Be that as it may….it IS possible to teach an old dog new tricks!

For transparency effects in CSS - I use the following tag:

filter:alpha(opacity=80);

(where increasing the number will lower or raise amount of transparency effect)

It’s a great effect that I use regularly. However - it never works in Mozilla. Ever. Ever. Ever.

The problem has been solved with this tiny line of code:

-moz-opacity:0.5;

(where raising or lowering the number - it tops out at 1.0 - will raise or lower transparency effect)

Ok. Old news for some. New news for me. I feel like having a party. :)

Posted on: June 22, 2004 |

Posted in: E.Webscapes

/*--- 7 Responses to “For Those Who Care” ---*/

  1. Uptown Girl
    11:30 am on June 22nd, 2004

    I understand the transparency stuff, but the rest I don’t know about, however BRAVO! :)

    I know in the coding that I’ve done and do that a revelation is a wonderful thing.

  2. Madfish Willie
    1:48 pm on June 22nd, 2004

    Here’s a neat Mozilla code that will give you rounded corners:

    -moz-border-radius-bottomleft: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-topleft: 10px;

    or for all four corners at once:
    -moz-border-radius: 10px;
    -moz-border-radius-bottomright: 10px;

    Check out my default stylesheet in Mozilla to see the effect.

  3. Madfish Willie
    1:49 pm on June 22nd, 2004

    Sorry… I messed up that last post (no preview??) I’m sure you can figure it out…

  4. Sweet N Sassy
    9:53 pm on June 22nd, 2004

    I have no idea what you are really talking about but I do KNOW I love the work you did foe me and the fact it is now fixed in Mozilla. Thanks :wink:

  5. Lisa
    3:22 am on June 23rd, 2004

    Hey that’s cool, MadFish. Thanks for the tip :)

  6. Jeromy
    2:33 am on June 30th, 2004

    I was wondering if anyone knows of strike codes that work in mozilla. You will know if you go to my website on IE then go it with Mozilla. I can’t get the strike code I have to work with Mozilla at all. Thanks

  7. Gavin Henry
    3:23 pm on May 23rd, 2005

    Hi,

    Does filter:alpha(opacity=80);

    work in IE?

Leave a Reply

  • Li-sa Sa-bin Wil-son: [lee-suh sey-bin will-sun] - pronoun; 1. A wife, mother & friend; 2. Blog Designer & WebHost; 3. Author of WordPress For Dummies; 4. Scuba diver; 5. Downhill Skier; 6. Am. Photographer; 7. Espresso sipper;
    contact me »
    WordPress For Dummies, author Lisa Sabin-Wilson, Amazon.ComI wrote the First Edition of WordPress For Dummies, published Nov. '07. I'm currently writing the 2nd Edition, due to be published in Fall '08...read more »
    Acknowledgements | Forward | TOC | Ch. 1
    Bonus Chapter: What's New in WordPress 2.5
  •  

    • David Span recently asked me to guest blog at MyBlogIt.net on WordPress. I was flattered. I am honored. I am done with my post there and he's got it up today: WordPress Magazine Themes: Quick Anatomy Lesson.. complete with PowerPoint presentation and Video (eek!). Thanks so much David!

      - #
    • So, I'm Plurking. Anyone Social Network'd out, yet? Add me, won't you?

      - #
    • "Thanks to Chris Wilson in the Blogs-About tech support department, my new WordPress MU (multi-user) community is up and running about 24 hours after my initial registration." ~ Roxiticus Desperate Housewives. Thanks, Roxi!

      - #
    • This is just a test post. Testing from my new smartphone. Will check when I get home. In the meantime....happy April!

      - #
    • Look for an update to the WordPress For Dummies book that will include what's new and exciting in the newest version of WordPress 2.5. This will be available in a free, downloadable PDF document both here, on my site, as well as Dummies.com. Will keep you posted!

      - #
    • Http500: Congrats Lisa! Is a cool book! :d
    • Zak: I don’t have a screen capture sw, otherwise I’d...
    • Lisa: Phenomenal, Zak - thank you for letting me know it’s...
    • Zak: I’m now reading your post in an iPhone optimized format...
    • Lindsey: Awww, thanks! I take the comments about my OCD-ness as a...
    • Chris Cairns: Lisa, again, appreciate all the work you and your...
    • Heathero: Snappingphotos is worth reading!
    • Http500: Now in italy is summer, sea and sun! :d
    • Crawford Harris: Lisa, I enjoyed the book. It convinced me to give...
    • Carina: Thanks for sharing! :”>:d
    • MyDingo: I discovered that drinking a few gulps of a carbinated...
    • Joni: You definitely need a break! Have fun on your vacation! :)
    • UKStevieB: You mean you won’t Twitter/Plurk us to let us know...
    • diana: Can you have it go in the reverse manner? That is to ONLY...
    • Steve: You are a genius. If you asked me for one I would sign the...