Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,005
    Thanks
    58
    Thanked 10 Times in 10 Posts

    Smile Anyone else been using the rgba property

    Anyone else been using the rgba property in their sites. I now use it with code like. It degrades gracefully for me

    Code:
    #nav li li{
    
        float: left;
        position: relative;
        width:7em;
        text-align: center;
        cursor: default;
        border: 1px solid #fff;
        border-top-style: none;
        border-bottom-style: none;
        background-color:#AAD1E7;
        background-color:rgba(175, 212, 234,0.8);
    }


  • #2
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,785
    Thanks
    8
    Thanked 131 Times in 129 Posts
    I haven't but I really like the idea of it. Being able to not affect child elements is to nice of a plus.

    Is Safari the only browser that really supports it right now though?
    Stop making things so hard on yourself.
    i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis

  • #3
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,005
    Thanks
    58
    Thanked 10 Times in 10 Posts
    I found out that you don't want to use my code in IE as the li background dissappears.

    Firefox 3 will support it but for now its safari 3



  •  

    Posting Permissions

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