jsp div css - Web 开发 / 非技术区
jsp 页面用div 加 css(导入的) 所有的div 样式都不好使是怎么回事?
相同的样式放到<td>上就好使!
1.css
.menud {
height: 29px;
width: 960px;
top: 10px;
color: #FFFFFF;
word-spacing: 6pt;
}
jsp:
<div class="menud">
<table width="960" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
测试
</td>
</tr>
</table>
</div>
没人理我!
相关问答:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jas ......
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÕË cannot be resolved
49: <table border="1& ......
大家好,我在JSP的初学者,在编程中遇到了一个问题:
<jsp:useBean id="accountBiz" class="bank.AccountBiz"
scope="application">
这个标签中application和sessi ......
用css缩写 使用缩写可以帮助减少你CSS文件的大小,更加容易阅读。css缩写的主要规则请参看《常用css缩写语法总结》,这里就不展开描述。
二.明确定义单位,除非值为0
忘记定义尺寸的单位是CSS新手普遍的错误。在HT ......
程序如下:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page language="java" %>
<%@ page import="com.mysql.jdbc.Driver" %>
<%@ page import ......