WordPress在IE下Sidebar显示定位错误的问题已解决
December 4th, 2005
一直使用Firefox,偶尔用IE上一下这个Blog,却发现Sidebar显示在了首页所有文章的下面,究其原因,原来是在最近的几篇文章中,有几个pre或code元素的宽度超出了左边这部分的宽度,从而占用了右边的Sidebar的空间,而IE又没有很好的解决Overflow的问题(参见Migrate apps from Internet Explorer to Mozilla中的CSS overflow differences部分),于是在css中添加如下代码:
#sidebar {position: absolute; left: 120px;}
将Sidebar改为
......[Continue Read/阅读全文]