Internet Explorer 8 and Checkbox CSS Problem

后端 未结 4 1330
遥遥无期
遥遥无期 2021-01-22 16:16

I\'m currently having problems with Internet Explorer 8 ignoring padding/line-heights that I have on a list which includes a check box.

To start off here is my CSS and X

4条回答
  •  半阙折子戏
    2021-01-22 16:20

    // fix for ie8 printed checkbox bug using jquery
    $('input[type=checkbox]').live('change', function(){
        if($(this).is(':checked')){
            $(this).attr('checked', true);
        } else {
            $(this).attr('checked', false);
        }
    });
    

    IE8 checkbox not printing bug fix using jQuery

提交回复
热议问题