首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

如何把这句中的expression去掉

2012-03-11 
怎么把这句中的expression去掉?spanstyle position:relativetop:0pxleft:expression(this.firstChild

怎么把这句中的expression去掉?
<span   style= "position:relative;top:0px;left:expression(this.firstChild.clientWidth   -   19);   width:19px;   text-align:right;   overflow:hidden;   z-index:8; ">

expression只能在ie中使用,如何修改能使它在firefox下也通过?

[解决办法]
可以啊,给psan一个id,然后body的onLoad里面getElementById().style.left=...

热点排行