Results 1 to 4 of 4

Thread: CSS Question

  1. #1
    Join Date
    Nov 2006
    Location
    D?sseldorf
    Posts
    2,858
    Tokens
    2,256

    Latest Awards:

    Default CSS Question

    Code:
    .anylinkcss{
    position:absolute;
    visibility: hidden;
    border:0px solid black;
    border-bottom-width: 0;
    font:normal 10px Verdana;
    line-height: 18px;
    z-index: 100;
    background-color: #E9FECB;
    width: 205px;
    }
    
    .anylinkcss a{
    width: 100%;
    display: block;
    text-indent: 3px;
    border-bottom: 1px solid black;
    padding: 1px 0;
    text-decoration: none;
    font-weight: bold;
    text-indent: 5px;
    }
    
    .anylinkcss a:hover{ /*hover background color*/
    background-color: black;
    color: white;
    }
    }
    ok, that is my css code, ita a drop down navigation box. What i want to know is, can anybody alter this so my box is sort of about 75% transparent (sorry, i suck at CSS)

    +rep to all help. Thanks

  2. #2
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Code:
    .anylinkcss{
    position:absolute;
     opacity:0.25;
    border:0px solid black;
    border-bottom-width: 0;
    font:normal 10px Verdana;
    line-height: 18px;
    z-index: 100;
    background-color: #E9FECB;
    width: 205px;
    }
    Have a play with the value
    Value must be between 0 and 1


  3. #3
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    Quote Originally Posted by Drompo View Post
    Code:
    .anylinkcss{
    position:absolute;
     opacity:0.25;
    border:0px solid black;
    border-bottom-width: 0;
    font:normal 10px Verdana;
    line-height: 18px;
    z-index: 100;
    background-color: #E9FECB;
    width: 205px;
    }
    Have a play with the value
    Value must be between 0 and 1
    Yep that is correct should work just checked it over quickly

  4. #4
    Join Date
    Nov 2006
    Location
    D?sseldorf
    Posts
    2,858
    Tokens
    2,256

    Latest Awards:

    Default

    Quote Originally Posted by Drompo View Post
    Code:
    .anylinkcss{
    position:absolute;
     opacity:0.25;
    border:0px solid black;
    border-bottom-width: 0;
    font:normal 10px Verdana;
    line-height: 18px;
    z-index: 100;
    background-color: #E9FECB;
    width: 205px;
    }
    Have a play with the value
    Value must be between 0 and 1
    thanks, it worked

    +rep

Posting Permissions

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