对应情况才能给出对应的解决方法,因为不清楚你的情况,所以可以试试用hark解决样式不兼容问题。
你上面说的情况是,把margin-right:8px !important去掉,其他浏览器就正常了。那就直接去掉
然后使用下面hark给火狐单独加上
.box{width:290pxposition:relativeheight:100pxoverflow:hiddenmargin-left:10px}
/* Firefox */
@-moz-document url-prefix()
{
.box{
margin-right:8px!important
}
}