框架窗口不显示水平滚动条,怎么办?。。。。。。。 <body style="overflow-x:hidden"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 to:LxcJie(肖冲*爱*捷捷) ( 这句放在那? 是把 style= 那句话去掉 把代码贴出来,你的行设置成nowrap 再找找有没有下面之类的代码,有把它去掉word-break:break-all;word-wrap:break-word 上面说的也有可能,看看表格单元个有没有设定 nowrap,有同样去掉 没有: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> 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> 求解:如何根据用户id实现合并单元格 为什么有的时候onclick在firefox下不管用啊 jsp假分页 javascipt中如何引用表格对象 2003的系统 就是随便写一个出错的javascript语句 ie状态栏不提示错误 求一js函数! 请教日期问题 打开一个窗体的问题 关于同名checkbox对象的问题 连续上传图片 如何捕获popup消失时的事件?我想在popup窗口消失后作点处理,有没有这样的事件? 如何在page载入打开前,用js改变page的大小?
这句放在那?
word-break:break-all;
word-wrap:break-word
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>
<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>