rt
------解决方案--------------------
if(divobj.style.width.match(/^\d+/) == " " + divobj.scrollWidth)
{
//not overflow
}
else
{
//overflow
}
------解决方案--------------------
alert(document.getElementById( "div1 ").style.overFlow)
alert(document.getElementById( "div1 ").style.overFlowY)
alert(document.getElementById( "div1 ").style.overFlowX)