- 论坛徽章:
- 0
|
下面代码是CUBlog首页的“关于作者”源码,我不是很懂这些东西,但是红色部分很有可能是跟上传图片相关的。应该不是什么缓冲的原因,是不是我的另外两个浏览器不支持这些代码?
还有,用Firefox浏览这些代码,当“收起”时正常,“展开”就变的很宽,重复切换几次不管怎么都很宽,并且不能收起!
<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;border: 1px solid #90BAED; padding: 1;word-wrap:break-word;" bgcolor="#FFFFFF" width="224">
<tr><td background="../../templates/default/images/bg_left_top.gif" height="22" valign="top" align="center">
<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;color:#FFFFFF" width="220" height="16">
<tr><td align="center" width="115"><b>关于作者</b></td>
<td width="105" align="right" valign="top">
<img src="../../templates/default/images/dot2.gif" border="0" title="收起" onclick="ShowHideDiv('aboutwriter',this);return false;"/>
</td>
</tr>
</table>
</td></tr>
<tr><td height="5"></td></tr>
<tr><td style="color:#02368D" id="aboutwriter" align="center">
<table border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;word-wrap:break-word;color:#02368D;" width="200" height="16">
<tr><td align="center">
<xsl:element name="a">
<xsl:attribute name="href"><xsl:value-of select="BLOG/UP_PIC" /></xsl:attribute>
<xsl:attribute name="target">_blank</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">up_user_pre.jpg</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
</xsl:element>
</xsl:element>
</td></tr>
<tr><td width="200">
<pre style="line-height: 150%; margin: 5px;" width="25">
<xsl:value-of select="BLOG/BLOG_INFO" />
</pre>
</td></tr>
</table>
</td></tr>
<tr><td height="5"></td></tr>
</table>
已经在Windows+Firefox察看是没有问题的,等下班回家看看在Mac上面再试一试
[ 本帖最后由 zakung 于 2006-2-6 11:45 编辑 ] |
|