css的添加,急!!!
Java code:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/form.css" type="text/css" rel="stylesheet" />
<link href="css/table.css" type="text/css" rel="stylesheet" />
<link href="css/vbulletin.css" type="text/css" rel="stylesheet" />
<title>修改密码</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
相关问答:
用css缩写 使用缩写可以帮助减少你CSS文件的大小,更加容易阅读。css缩写的主要规则请参看《常用css缩写语法总结》,这里就不展开描述。
二.明确定义单位,除非值为0
忘记定义尺寸的单位是CSS新手普遍的错误。在HT ......
我这样写就没问题
#cp1 img{magin:5px;}
#cp2 img{magin:5px;}
#cp3 img{magin:5px;}
我想精简代码,用下面的写法,就出错了,是不是语法有问题?
#cp1,#cp2,#cp3 img{magin:5px;}
是语法有问题,你的写法相 ......
CSS 代码
.style7
{
width:115px !important;width:120px;padding:5px;
}
<td class="style7">
<%=Html.Pas ......
项目路径是这样的
就是应用的时候出不来效果 我觉得应用的路径没问题啊
就是Dtails.jsp 被sitemesh 修饰 Dtails。jsp 应用css <link rel="stylesheet" type="text/css" href=" ......