Search code examples
cssbackground-colorrgba

rgba is not working, when i had it working 5 minutes ago


this is for my site http://www.blindsdetroit.com/ I need to have text that you CANNOT see through over a background image that is see through. It is not working on chrome or firefox. Also the rgb won't work either, it just says its a invalid property value? Why is this

here is my css:

#top_box{
background: rgba (208,206,195,.5);
position:relative;
height:400px;
}

Solution

  • I just gave it a try using the Chrome Developer tools and it appears to be the space between rgba and the left parenthesis. So, instead of:

    background: rgba (208,206,195,.5);
    

    Try...

    background: rgba(208,206,195,.5);