开发者

Undesirable popup in datepicker in IE6

I am using a datepicker for one of my form elements in my Drupal page.

The problem i have is that in IE6 (testing in IE7 and Firefox, it looks fine), there is a box below the calendar with the word false in it.

When the first date picker is clicked, the box is the same size as the calendar. When anot开发者_如何学编程her date picker is clicked on the same page the false box is twice as big. The box continues to grow in size every time a date picker is clicked.

Undesirable popup in datepicker in IE6

Included the screenshot of the issue.... i see that an iframe is being added. Dont understand what could be the issue and how to fix it.


Add this to your css

iframe.ui-datepicker-cover { display:none; } 

else try this

.ui-datepicker-cover {
  display: none; /*sorry for IE5*/
  display/**/: block; /*sorry for IE5*/
  position: absolute; /*must have*/
  z-index: -1; /*must have*/
  filter: mask(); /*must have*/
  top: -4px; /*must have*/
  left: -4px; /*must have*/
  width: 193px; /*must have to match width and borders*/
  height: 200px; /*must have to match maximum height*/
} 

Reference here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜