<body style="overflow-x:hidden">

解决方案 »

  1.   

    to:LxcJie(肖冲*爱*捷捷) ( 
    这句放在那?
      

  2.   

    是把 style= 那句话去掉
      

  3.   

    把代码贴出来,你的行设置成nowrap
      

  4.   

    再找找有没有下面之类的代码,有把它去掉
    word-break:break-all;
    word-wrap:break-word
      

  5.   

    上面说的也有可能,看看表格单元个有没有设定 nowrap,有同样去掉
      

  6.   

    没有:
    left.html代码如下:<%@ page contentType="text/html; charset=GBK" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.util.*" %>
    <%@include file="ShowTreeMenu.jsp"%>
    <html>
    <head>
    <base target="main">
    </head>
    <SCRIPT LANGUAGE="JavaScript" src="tree.js"></SCRIPT><body bgcolor="#C0C0C0" leftmargin=0 topmargin=0 marginwidth=0 maginheight=0  bgproperties="fixed">
    <%
    int layer=1;  
    Connection con=null;
    Statement stmt;
    ResultSet rs;
      
    String sql="select * from menu where parent_id=0 order by orderfor";Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    String url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=computer";
    String user="sa";
    String password="791102";
    con= DriverManager.getConnection(url,user,password);
    stmt=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    rs=stmt.executeQuery(sql); 
    out.println("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">");
    out.println("<tr><td>我的书</td></tr>");
    if(rs.next()) 
       ShowTreeMenu(out,con,rs,layer);
    out.print("</table>");
    stmt.close();
    con.close();//http://community.csdn.net/Expert/topic/3111/3111659.xml
    %>
    </body>
    </html>
      

  7.   

    index.html代码如下:<html><head>
    <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
    <title>新建网页 2</title>
    </head><frameset rows="64,*,64" framespacing="3" border="0" frameborder="0">
    <frame name="top" src="top_tree.jsp" scrolling=auto>
    <frameset border=0 framespacing=3 frameborder=no cols=160,*>
    <frame name="left" marginWidth=0 marginHeight=0 src="tree.jsp" scrolling=auto noresize>
    <frame name="main" marginWidth=0 marginHeight=0 src="main_tree.jsp" scrolling=auto noresize" >
    </frameset>
    <frame name="bottom" marginWidth=0 marginHeight=0 src="bottom_tree.jsp">
    </frameset>
    </html>