相同的源码,在IE中可以正常显示,但是再 FF 中,显示不正常,源码如下: 谨记: 需要将 ; 替换为 , 问题既可以解决,正常就是应该是 , 不是 ;
错误源码:
<html>
<frameset cols="25%;50%;25%">
<frame src="/example/html/frame_a.html">
<frame src="/example/html/frame_b.html">
<frame src="/example/html/frame_c.html">
</frameset>
</html>
正确源码:
<html>
<frameset cols="25%,50%,25%">
<frame src="/example/html/frame_a.html">
<frame src="/example/html/frame_b.html">
<frame src="/example/html/frame_c.html">
</frameset>
</html>
本文介绍了一种解决网页在Internet Explorer (IE) 和 Firefox (FF) 浏览器间显示不一致的问题的方法。通过将源码中的分隔符从分号(;)更改为逗号(,),实现了不同浏览器下的一致性显示。
309

被折叠的 条评论
为什么被折叠?



