h1, h2, h3, h4, h5, h6 {
margin: 1em 1em 1em 1em;
padding:1em 1em 1em 1em;
color:#ff00ff;
border: thin dotted green;
text-align:center;
}
body {
text-align:center;
font: normal small-caps 600 12pts/150% Courier;
color: green;
background: url("../image/backdround.jpg");
}a {
color:red;
}
<%@ page contentType="text/html;charset=gb2312"%><html>
<head>
<title>JSP测试</title>
<style type="text/css">
<!--
@import url(css/styles.css);
-->
</style>
</head>
<body>
<h3>测试首页</h3>
<a href ="Date.jsp">时间测试</a>
</body>
</html>
margin: 1em 1em 1em 1em;
padding:1em 1em 1em 1em;
color:#ff00ff;
border: thin dotted green;
text-align:center;
}
body {
text-align:center;
font: normal small-caps 600 12pts/150% Courier;
color: green;
background: url("../image/backdround.jpg");
}a {
color:red;
}
<%@ page contentType="text/html;charset=gb2312"%><html>
<head>
<title>JSP测试</title>
<style type="text/css">
<!--
@import url(css/styles.css);
-->
</style>
</head>
<body>
<h3>测试首页</h3>
<a href ="Date.jsp">时间测试</a>
</body>
</html>
解决方案 »
- 要连接2个数据库,用C3P0怎么实现呢?
- access的代参查询
- 测试自己的web程序时浏览器阻止站点的cookie
- WEBlogic8中jdbc连接池的配置问题?
- tomcat5.5日志出现了严重错误,请指教一下
- 请各位兄弟告诉我关于数据库连接过多的问题,我用的是数据源连接数据库,可是运行一段时间后就出现数据库连接过多的问题
- 感觉jsp配置就是非常麻烦!其他还可以
- 网页上的数据都变成了Infinity或NaN 请帮忙解决 在线等
- jsp怎样与access的数据库连接啊
- 请大家介绍一本学习JAVABEANS的好书。。。谢谢了。。。
- Struts中像这种全局错误能否进行封装?
- 文本、Excel表导入导出
还有啊!你这个直接放到jsp里还是用css样式文件引用啊?一定要注意相对路径哦!
看看路径对不对
一个加载 图片的例子,(要根据你的目录把图片加上即可);
多数还是目录不正确的问题