发新话题
打印

[求助]使用IE7浏览论坛,内容无法显示完整

对,你说的情况前日也有人提出。正在想法解决。

好象用完整VISTA还正常,用XP升级IE7.0就会出现这种情况,你是这样吗?

TOP

服务商给出了解决方案,是这样的一个东西,需要研究一下。这两天会弄好。

page_dispbbs:

<!--判断是否是IE,生成相应的style和class--><br />
<xsl:variable name="postclass"><br /><xsl:choose><br />
<xsl:when test="<a href="mailtpost/agent/@browser='Microsoft">post/agent/@browser='Microsoft</a> Internet Explorer'">postie</xsl:when><br />
<xsl:otherwise>post</xsl:otherwise><br />
</xsl:choose><br /></xsl:variable><br />
<xsl:variable name="bodystyle"><br />
<xsl:choose><br />
<xsl:when test="<a href="mailtpost/agent/@browser='Microsoft">post/agent/@browser='Microsoft</a> Internet Explorer'">height:200px;width:97%;padding-right:0px; overflow-x: hidden;</xsl:when><br />
<xsl:otherwise>min-height:200px;</xsl:otherwise><br />
</xsl:choose>font-size:<xsl:value-of select="<a href="mailtpost/setting/@fontsize">post/setting/@fontsize</a>" />pt;line-height:<xsl:value-of select="<a href="mailtpost/setting/@lineheight">post/setting/@lineheight</a>" />;text-indent:<xsl:value-of select="<a href="mailtpost/setting/@indent">post/setting/@indent</a>" />px;
</xsl:variable><br />
<!--end -->

<!--判断是否是IE,生成相应的style和class-->
<xsl:variable name="postclass">
<xsl:choose>
<xsl:when test="
post/agent/@browser='Microsoft Internet Explorer' and not(post/agent/@version > 8 ) ">postie</xsl:when>
<xsl:otherwise>post</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="bodystyle">
<xsl:choose>
<xsl:when test="
post/agent/@browser='Microsoft Internet Explorer' and not(post/agent/@version > 8 )">height:330px;width:97%;padding-right:0px; overflow-x: hidden;</xsl:when>
<xsl:otherwise>min-height:330px;</xsl:otherwise>
</xsl:choose>font-size:<xsl:value-of select="
post/setting/@fontsize" />pt;line-height:<xsl:value-of select="post/setting/@lineheight" />;text-indent:<xsl:value-of select="post/setting/@indent" />px;</xsl:variable>
<!--end -->

TOP

发新话题