the different of IE and Chrome when return the color style
div{
width:50px;
height:50px;
}
function showColor(obj){
alert(obj.style.backgroundColor);
}
source
IE
chrome
red
red
red
#eeeeff
#eeeeff
rgb(138, 138, 256)
r
原创
2013-10-05 15:46:30 ·
443 阅读 ·
0 评论