Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAPUI5 button - change backround color with css class

Hallo guys

We have an SAPUI5 app which does validation and on failure some of the controls need to be colored red. So far we have had success with dropdowns and textfields.

There is however 1 button that needs to turn red. We were able to get it working in IE9, but the class does not seem to apply in IE11. Any ideas?

We use the following css:

.myRedButton.sapUiBtnStd.sapUiBtnNoGradient.sapUiBtnNorm.sapUiBtnS.sapUiBtn{

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#efc2bf',endColorstr='#ffffff',GradientType=0);

color: red;

border-width: 1px;

border-style: Solid;

border-color: #CC0000;

}

Any ideas how to get it working in IE11 aswell?

Regards

Antonette

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question