Results 1 to 3 of 3

Thread: Opacity

  1. #1
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default Opacity

    I am wondering if there is a way to set the opacity of an image, say, using css.
    Thanks
    - Mike

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    There are many, all incompatible with one another. To set half opacity:
    Code:
    opacity: 0.5; // CSS2 (or is it 3?)-compliant browsers
    filter: alpha(Opacity=50); // IE
    -moz-opacity: 0.5; // Older versions of Mozilla
    -khtml-opacity: 0.5; // Older versions of Safari/Konqueror
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Thanks Twey
    - Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •