工作,我的風格是這樣的:圖片通過CSS漿紗不IE8
input.date_picker, input.datetime_picker {
background-image: url("/images/calendar.png");
background-size: 16px 16px;
background-position: right center;
background-repeat: no-repeat;
}
我的日期選擇器輸入都定位到右,尺寸16×16這個小日曆。在IE8中它不起作用,圖像佔據整個背景。