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.

Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Oct 2002
    Location
    USA
    Posts
    94
    Member #
    237

    Current Rating

    Visual Appeal:
    0.0 out of 5

    Accessibility:
    0.0 out of 5

    Website Speed:
    0.0 out of 5

    Compatibility:
    0.0 out of 5

    Overall Rating:
    0.0 out of 5

    Rate This Site


    Advertisement (login to hide this!)


    You must be logged in to view this site

    I am attempting to create some translucent table backgrounds on my site, similar to what you see here: www.mm2x.com. I found the css to do this was FILTER: alpha(opacity="75"). I have only seen the code used when linking to an external style sheet, and have not been able to recreate the effect when using the STYLE attribute for a TD. Does anyone know how to implement this effect using the style attribute, or if not, perhaps another way?

  2.  

  3. #2
    Senior Member nsr81's Avatar
    Join Date
    Oct 2002
    Posts
    1,132
    Member #
    250
    Liked
    15 times
    Here ya go

    Code:
    <td style="FILTER: alpha(opacity='75')">
    There and Back Again :Ogre:

  4. #3
    Senior Member
    Join Date
    Mar 2002
    Location
    Warwick!
    Posts
    735
    Member #
    37
    That is IE specific by the way, it won't work in Mozilla/Netscape + other browsers.
    I am non-committal, feigning blasť.

  5. #4
    Member
    Join Date
    Oct 2002
    Location
    USA
    Posts
    94
    Member #
    237
    Thanks. It works now, so my exclusion of the ' around the variable probably prevented it from working before.

    Can the background be made translucent without fading the text or other objects within the cell? And does a method exist to do this which works with all browsers?

  6. #5
    Member
    Join Date
    Oct 2002
    Location
    USA
    Posts
    94
    Member #
    237
    Do new versions of Netscape support PNG? I was thinking of creating a translucent PNG image for a background to prevent fading the text and for compatibility. I was also considering using css positioning to position a text block over the Data cell containing the FILTER to stop the text from fading with the background; but I don't think it would be interpreted equally..

  7. #6
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    I'm pretty sure that the latest versions of NS which are basically Mozilla littered with AOL nonsense support .png images. However they won't support most CSS filter methods.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  8. #7
    Member DirectPixel's Avatar
    Join Date
    Mar 2002
    Posts
    90
    Member #
    33
    The best way, IMO, is to set background images.


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 08:50 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com