+ Reply to Thread
Results 1 to 2 of 2

Thread: Qq

  1. #1
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Qq

    How can you make elements in a faded box opaque? I have tried:
    HTML Code:
    #box {
       tansperant
    }
    
    #box * {
       not tansperant
    }
    However, the elements still show up transparent.

  2. #2
    Mr. DOS is offline x10 Sophmore Mr. DOS is an unknown quantity at this point
    Join Date
    Oct 2009
    Location
    Nova Scotia, Canada
    Posts
    228

    Re: Qq

    Transparency is inherited, that is, 50% transparency in a 50% transparent container will be 25% opaque. The only real workaround to this is to use semitransparent PNG background images, or use positioning to align the opaque element above the transparent one.

    --- Mr. DOS
    I've written a couple articles on automatic application of AlphaImageLoader in IE6 using nothing but IE6-specific CSS rules.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers