Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 5 1 2 3 ... LastLast
Results 1 to 10 of 47
  1. #1
    Senior Member kade119's Avatar
    Join Date
    Feb 2007
    Location
    USA
    Posts
    532
    Member #
    14888
    Liked
    1 times
    when to use "transparent"? is that just for .gif and .png, say when you have a cut corner and want to keep the transparency?

  2.  

  3. #2
    Senior Member -chris-'s Avatar
    Join Date
    Apr 2006
    Location
    SK
    Posts
    1,205
    Member #
    13102
    I would use .gif, it is just a solid colored edge, and .png if it is a shadow. Of course if you use .png you will need a work around, such as Dean Edward's IE7 script.
    Portfolio | Blog | Twitter

    Was my post, or someone elses, helpful? Click the thumbs up to let everyone know!

  4. #3
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Er... background-image: transparent is not a valid value. Only [minicode]none[/minicode] is valid. Transparent is a valid value for [minicode]background-color[/minicode], which basically means `I have no color, other stuff bleeds through'. The image will layer on top of the color.

  5. #4
    Senior Member -chris-'s Avatar
    Join Date
    Apr 2006
    Location
    SK
    Posts
    1,205
    Member #
    13102
    Oops, I totally misread that.
    Portfolio | Blog | Twitter

    Was my post, or someone elses, helpful? Click the thumbs up to let everyone know!

  6. #5
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    For some reason, I believe [minicode]background-color: transparent[/minicode] is also deprecated in CSS3 and maybe even CSS2.1. I have no idea why because it's effectively the default value for an element.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  7. #6
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Actually, it looks like it's still valid, and it's been expanded to be valid anywhere a color is expected.

  8. #7
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value.
    Cool, you can specify alpha values in CSS3 without the need for opacity.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  9. #8
    Senior Member kade119's Avatar
    Join Date
    Feb 2007
    Location
    USA
    Posts
    532
    Member #
    14888
    Liked
    1 times
    so to do trasnparent images, i need to do js for IE7 and earlier?

    anyone have a handy dandy site about this?

  10. #9
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    For IE6 and earlier. IE7 supports PNG transparency. And it's only alpha transparency in PNGs. GIFs work fine, and PNGs with binary transparency (i.e., either fully transparent or fully opaque) also work fine.

  11. #10
    Senior Member kade119's Avatar
    Join Date
    Feb 2007
    Location
    USA
    Posts
    532
    Member #
    14888
    Liked
    1 times
    so pngs with binary transpareny are fine in IE 6 and earlier?

    shadow i have to ask a stupid question..

    what is the difference between a binary transparency and alpha? is that when you have an image or color fading into transparent(alpha)?

    and i found this site

    http://koivi.com/ie-png-transparency/

    do you approve of that method ?


Page 1 of 5 1 2 3 ... LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:11 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com