Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    3

    background-image transparency

    Hey
    Im having some trouble with some background-images backgrounds not being transparent when used as background-image in css! The images have been formatted okay and theyre backgrounds are transparent when the images aren't used as background-images. Is there a work around to get the images to display as intended as background-images?

    Thanks in advance

  2. #2
    Junior Member
    Join Date
    Feb 2019
    Location
    Ahemdabad
    Posts
    11
    for the background-image transparency
    <!DOCTYPE html>
    <html>
    <style>
    img {
    opacity: 0.5;
    filter: alpha(opacity=50);
    }

    </style>
    </head>
    <body>
    <h1>Image Transparency</h1>
    <img src="your path" width="170" height="100">
    <img src="your path" width="170" height="100">
    <img src="your path" width="170" height="100">
    </body>
    </html>
    http://www.ifourtechnolab.com
    ASP.NET MVC Developer
    iFour Technolab Private Limited
    Custom ASP.NET MVC Software Company India

  3. #3
    Registered User
    Join Date
    Apr 2014
    Posts
    43
    In this case we want the image to NOT be transparent when the user hovers over it. ... When using the opacity property to add transparency to the background.

Posting Permissions

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

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.