boshkash boshkash - 1 year ago 85
ASP.NET (C#) Question

Css Site display correctly at firefox and chrome and Doesn't Display Correctly in IE11

Css Site display correctly at Firefox and chrome and Css Doesn't Display Correctly with IE11,the breadcrumb that i have in the header does not display correctly at ie11 i don't know why .

Answer Source

You need to used the css that work for all browsers. linear-gradient property is only for very few browser that support but not all.

background: your-color; 
background: -webkit-linear-gradient(bottom, your-color, white); /* For Safari 5.1 to 6.0 */
background: -moz-linear-gradient(top, white, your-color); /* For Firefox 3.6 to 15 */
background: -o-linear-gradient(white, your-color); /* For Opera 11.1 to 12.0 */ 
background: linear-gradient(top, your-color, white); /* Standard syntax */
background: linear-gradient(to bottom, your-color, your-color); /* IE ? */
background: -ms-linear-gradient(top, your-color, your-color); /* IE 11 */

if you use these background property than it will work for all browser. Mean compatible property will auto work nature browser.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download