<frameset cols="100,*" name="content">
改变cols的值即可

解决方案 »

  1.   

    哈,我居然没注意到cols,晕倒。
    谢谢提醒,给分。还有,你能顺便帮我看一下这段代码吗?
    <xsl:template name="left_frame">
      <xsl:for-each select="ALL/SQL1/REC">
        <xsl:sort select="./*[1]" order="ascending"/>
    <xsl:element name="a">
      <xsl:attribute name="href">
        javascript:parent.viewData(<xsl:value-of select="@ID" />);
      </xsl:attribute>
              <xsl:value-of select="SQL1_EVENTID" />
    </xsl:element>
    <xsl:element name="b">
      <xsl:attribute name="href">
        javascript:parent.viewData(<xsl:value-of select="@ID" />);
      </xsl:attribute>
              <xsl:value-of select="SQL1_BECALLNUM" />
    </xsl:element>
    <br/>
      </xsl:for-each>
    </xsl:template>我想把显示的值用表格来显示,该怎样修改呢?麻烦了。
      

  2.   

    http://dotnet.aspx.cc/article/yawo3qgm-xd53-4d3d-oybr-blsbx5bngaym/read.aspx
      

  3.   

    不行啊,下面是我参照例子写的代码:
    <xsl:template name="left_frame">
    <table bgcolor="snow" border="1" cellpadding="5" cellspacing="2" borderColor="darkorange" style="font-size:9pt">
      <xsl:for-each select="ALL/SQL1/REC">
        <xsl:sort select="./*[1]" order="ascending"/>
         <tr>
            <td width="33%" align="center" valign="middle">
    <xsl:element name="a">
      <xsl:attribute name="href">
        javascript:parent.viewData(<xsl:value-of select="@ID" />);
      </xsl:attribute>
              <xsl:value-of select="SQL1_EVENTID" />
    </xsl:element>
            </td>
            <td width="34%" align="center" valign="middle">
    <xsl:element name="b">
      <xsl:attribute name="href">
        javascript:parent.viewData(<xsl:value-of select="@ID" />);
      </xsl:attribute>
              <xsl:value-of select="SQL1_BECALLNUM" />
    </xsl:element>
            </td>
        <tr>
      </xsl:for-each>
    </table>
    </xsl:template>有什么问题吗?
      

  4.   

    我在这里开了一个帖子,解决了这个问题请到这里拿分,谢谢:
    http://community.csdn.net/Expert/topic/5450/5450753.xml?temp=.8901636