background color hide border-radius ie8

I'm trying to do border-radius with ie8 here is my code:

position: relative;
    border-radius: 8px;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#CCC', endColorstr='#C!C!C!', GradientType=0 );
    behavior: url(css/PIE.htc);

border-radius is here, but unfortunatelly it's under background color what I missed?

Answers


You need to use -pie-background, not the old IE filter gradient.

From the PIE website

background: linear-gradient(#EEFF99, #66EE33);
-pie-background: linear-gradient(#EEFF99, #66EE33);
behavior: url(/pie/PIE.htc);

Need Your Help

C#, DataTable to ArrayList?

c# datatable arraylist

I have a datatable with few rows each row has few columns.

sprite kit collisions: ignore transparency?

ios objective-c xcode sprite-kit

I am building a game with Xcode's spritekit. Its a platform game and right now it functions well with flat ground pieces. I was wondering if it was possible to ignore transparency in the png for