简体   繁体   中英

datepicker being transparent in Internet Explorer 8

I have used a datepicker function in my jsp.

$(function() {
$( "#id" ).datepicker({maxDate: '0'});
});

working fine in Firefox but in case of Internet Explorer the background is being transparent. Is there any way to overcome it without updating the browser?

See this for example:

FIDDLE

.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; background-color: #000000; }

You can change the background-color accordingly.

The issue should be on how you reference your CSS and JQuery library. Please share your reference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM