查看: 3526|回复: 10

终于开张了。埃。。管理员进?贝克八一?

[复制链接]
发表于 2006-11-9 05:11 | 显示全部楼层 |阅读模式
<p>还有beckhamwu81呢,是不是随着服务器的挂掉也挂掉了。。</p><p>貌似没见到他人啊。。</p>
[此贴子已经被作者于2006-11-9 8:31:00编辑过]

 楼主| 发表于 2006-11-9 05:14 | 显示全部楼层
<p>对了,希望顺便解决一下IE7的兼容性问题。。</p><p>现在的动网好像都有这个问题。一层楼的div不能自动撑大。。导致内容看不全</p><p></p><p>解决方法是:</p><p></p><div break-word="" word-wrap="" normal="" line-height="" text-indent="" break-all="" word-break="" min-height="" font-size=""><p>在风格模板page_dispbbs中找到以下代码:</p><div class="quote"><p>&lt;!--判断是否是IE,生成相应的style和class--&gt;&lt;br /&gt;<br/>&lt;xsl:variable name="postclass"&gt;&lt;br /&gt;&lt;xsl:choose&gt;&lt;br /&gt;<br/>&nbsp;&nbsp;&lt;xsl:when test="&lt;a href="<a title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft&quot;&gt;post/agent/@browser='Microsoft&lt;/a" href="http://www.xlzg.net/bbs/mailtpost/agent/@browser=%27Microsoft%22%3Epost/agent/@browser=%27Microsoft%3C/a" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft&quot;&gt;post/agent/@browser='Microsoft&lt;/a" color="#000000">mailtpost/agent/@browser='Microsoft"&gt;post/agent/@browser='Microsoft&lt;/a</font></a>&gt; Internet Explorer'"&gt;postie&lt;/xsl:when&gt;&lt;br /&gt;<br/>&nbsp;&nbsp;&lt;xsl:otherwise&gt;post&lt;/xsl:otherwise&gt;&lt;br /&gt;<br/>&lt;/xsl:choose&gt;&lt;br /&gt;&lt;/xsl:variable&gt;&lt;br /&gt;<br/>&lt;xsl:variable name="bodystyle"&gt;&lt;br /&gt;<br/>&lt;xsl:choose&gt;&lt;br /&gt;<br/>&nbsp;&nbsp;&lt;xsl:when test="&lt;a href="<a title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft&quot;&gt;post/agent/@browser='Microsoft&lt;/a" href="http://www.xlzg.net/bbs/mailtpost/agent/@browser=%27Microsoft%22%3Epost/agent/@browser=%27Microsoft%3C/a" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft&quot;&gt;post/agent/@browser='Microsoft&lt;/a" color="#000000">mailtpost/agent/@browser='Microsoft"&gt;post/agent/@browser='Microsoft&lt;/a</font></a>&gt; Internet Explorer'"&gt;height:200px;width:97%;padding-right:0px; overflow-x: hidden;&lt;/xsl:when&gt;&lt;br /&gt;<br/>&nbsp;&nbsp;&lt;xsl:otherwise&gt;min-height:200px;&lt;/xsl:otherwise&gt;&lt;br /&gt;<br/>&lt;/xsl:choose&gt;font-size:&lt;xsl:value-of select="&lt;a href="<a title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@fontsize&quot;&gt;post/setting/@fontsize&lt;/a" href="http://www.xlzg.net/bbs/mailtpost/setting/@fontsize%22%3Epost/setting/@fontsize%3C/a" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@fontsize&quot;&gt;post/setting/@fontsize&lt;/a" color="#000000">mailtpost/setting/@fontsize"&gt;post/setting/@fontsize&lt;/a</font></a>&gt;" /&gt;pt;line-height:&lt;xsl:value-of select="&lt;a href="<a title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@lineheight&quot;&gt;post/setting/@lineheight&lt;/a" href="http://www.xlzg.net/bbs/mailtpost/setting/@lineheight%22%3Epost/setting/@lineheight%3C/a" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@lineheight&quot;&gt;post/setting/@lineheight&lt;/a" color="#000000">mailtpost/setting/@lineheight"&gt;post/setting/@lineheight&lt;/a</font></a>&gt;" /&gt;;text-indent:&lt;xsl:value-of select="&lt;a href="<a title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@indent&quot;&gt;post/setting/@indent&lt;/a" href="http://www.xlzg.net/bbs/mailtpost/setting/@indent%22%3Epost/setting/@indent%3C/a" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@indent&quot;&gt;post/setting/@indent&lt;/a" color="#000000">mailtpost/setting/@indent"&gt;post/setting/@indent&lt;/a</font></a>&gt;" /&gt;px;<br/>&lt;/xsl:variable&gt;&lt;br /&gt;<br/>&lt;!--end --&gt;</p></div><p>替换为:</p><div class="quote"><p>&lt;!--判断是否是IE,生成相应的style和class--&gt;<br/>&lt;xsl:variable name="postclass"&gt;<br/>&lt;xsl:choose&gt;<br/>&nbsp;&nbsp;&lt;xsl:when test="<a title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft" href="http://www.xlzg.net/bbs/mailtpost/agent/@browser=%27Microsoft" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft" color="#000000">post/agent/@browser='Microsoft</font></a> Internet Explorer' and not(<a title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@version" href="http://www.xlzg.net/bbs/mailtpost/agent/@version" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@version" color="#000000">post/agent/@version</font></a> &gt; 6 ) "&gt;postie&lt;/xsl:when&gt;<br/>&nbsp;&nbsp;&lt;xsl:otherwise&gt;post&lt;/xsl:otherwise&gt;<br/>&lt;/xsl:choose&gt;<br/>&lt;/xsl:variable&gt;<br/>&lt;xsl:variable name="bodystyle"&gt;<br/>&lt;xsl:choose&gt;<br/>&nbsp;&nbsp;&lt;xsl:when test="<a title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft" href="http://www.xlzg.net/bbs/mailtpost/agent/@browser=%27Microsoft" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft" color="#000000">post/agent/@browser='Microsoft</font></a> Internet Explorer' and not(<a title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@version" href="http://www.xlzg.net/bbs/mailtpost/agent/@version" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/agent/@version" color="#000000">post/agent/@version</font></a> &gt; 6 )"&gt;height:200px;width:97%;padding-right:0px; overflow-x: hidden;&lt;/xsl:when&gt;<br/>&nbsp;&nbsp;&lt;xsl:otherwise&gt;min-height:200px;&lt;/xsl:otherwise&gt;<br/>&lt;/xsl:choose&gt;font-size:&lt;xsl:value-of select="<a title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@fontsize" href="http://www.xlzg.net/bbs/mailtpost/setting/@fontsize" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@fontsize" color="#000000">post/setting/@fontsize</font></a>" /&gt;pt;line-height:&lt;xsl:value-of select="<a title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@lineheight" href="http://www.xlzg.net/bbs/mailtpost/setting/@lineheight" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@lineheight" color="#000000">post/setting/@lineheight</font></a>" /&gt;;text-indent:&lt;xsl:value-of select="<a title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@indent" href="http://www.xlzg.net/bbs/mailtpost/setting/@indent" target="_blank"><font title="blocked::http://www.xlzg.net/bbs/mailtpost/setting/@indent" color="#000000">post/setting/@indent</font></a>" /&gt;px;&lt;/xsl:variable&gt;<br/>&lt;!--end --&gt;</p></div></div><p></p><p></p>
 楼主| 发表于 2006-11-9 05:17 | 显示全部楼层
<p>动网什么时候也改成div+css布局了。不错不错。。。也算是向w3c靠拢了。。</p><p>可惜过分追求功能,兼容性还不是很好。。</p><p>在firefox下会莫名的失去相应。在IE7下显示不全。在Opera下没法在编辑框中输入帖子</p><p>没有能够在一个浏览器下没有问题的运行</p>
发表于 2006-11-9 06:28 | 显示全部楼层
<p>干嘛要升级ie7.0,连建行网上银行的验证码都看不到,想不出有什么理由要装ie7.0</p>
发表于 2006-11-9 06:29 | 显示全部楼层
[em09]ie7?最新的不一定是最好的,最好的也不一定是最合适的
 楼主| 发表于 2006-11-9 06:36 | 显示全部楼层
<p>不是IE无法显示。IE7的默认安全级别非常的高。特别是对ActiveX,默认大部分都禁用了。你自定义好你的security settings 完全可以和IE6一样的。我的农行网上银行就是需要证书的那种一开始也不能用了,后来耐心设置了一下自定义security就OK了</p><p>我平时主打浏览器是firefox,遇到类似动网对w3c支持不太好的网站采用IE,当然是在firefox里用IE tab 呵呵</p><p>随着IE7和firefox的普及。w3c也将逐渐的被国人所接受</p>
[此贴子已经被作者于2006-11-8 22:36:44编辑过]

发表于 2006-11-9 06:55 | 显示全部楼层
在讨论虾米呢[em06]
 楼主| 发表于 2006-11-9 16:29 | 显示全部楼层
顶上去,希望修正IE7的兼容性问题
发表于 2006-11-9 16:37 | 显示全部楼层
这个技术性的问题,偶不懂
发表于 2006-11-9 20:47 | 显示全部楼层
<p>改好了,不过自己不用IE7,楼主测试下</p>
 楼主| 发表于 2006-11-10 03:09 | 显示全部楼层
貌似还是一样有问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|爆棚小组 PlayGM论坛

GMT+8, 2024-11-18 07:37 , Processed in 0.032471 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表