-
Look at this page.
看看这个页面。
-
Press the orange
->
button and then the<-
again.按橙色 - >按钮,再按< - 。
This paginator shows the page 1 by default and load the other pages' content via AJAX. However, that default page 1 content and the ajax loaded page 1 content don't look the same in IE, even when the html and css are exactly the same!. You can see the font is thin and ugly, especially in the blue headers.
此分页器默认显示页面1,并通过AJAX加载其他页面的内容。但是,默认的第1页内容和ajax加载的第1页内容在IE中看起来不一样,即使html和css完全相同!你可以看到字体很薄很丑,特别是在蓝色标题中。
Why is this happening and how do I make it stop?
为什么会发生这种情况,如何让它停止?
1 个解决方案
#1
0
@John, I managed to solved using this code:
@John,我设法使用这段代码解决了:
$('.css-selector').each( function( i, el ){
try { el.style.removeAttribute( 'filter' ); } catch( e ){}
});
And, if you are not using jQuery, I think this can still work:
而且,如果你不使用jQuery,我认为这仍然可以工作:
try {
document.getElemenyById('id_element').style.removeAttribute('filter');
} catch(e){}
#1
0
@John, I managed to solved using this code:
@John,我设法使用这段代码解决了:
$('.css-selector').each( function( i, el ){
try { el.style.removeAttribute( 'filter' ); } catch( e ){}
});
And, if you are not using jQuery, I think this can still work:
而且,如果你不使用jQuery,我认为这仍然可以工作:
try {
document.getElemenyById('id_element').style.removeAttribute('filter');
} catch(e){}