Transparent Colours

Discussion in 'CSS' started by gobbly2100, Jun 10, 2007.

  1. #1
    I am just messing with a MySpace layout and I want to make a part of it only 50% transparent, what do I need to do to this code?

    table table table{
    background-color:transparent;
    border-width:4;
    border-color:rgb(236,0,140);
    border-style:solid;
    Code (markup):
     
    gobbly2100, Jun 10, 2007 IP
  2. CriminalOrigins

    CriminalOrigins Peon

    Messages:
    276
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try this:
    
    table table table {
            opacity: .5;
    	filter: alpha(opacity=50);
    }
    
    Code (markup):
    It isn't supported by all browsers, but it should work in IE and Firefox at least.

    Put your other CSS attributes in there with it as well.
     
    CriminalOrigins, Jun 10, 2007 IP