你说的是css样式表吗??在Head部分写
如果是引用css文件:<link href="url" type="text/css" rel="stylesheet">
如果写在前台页面中:<type="text/css"></type>
如果是引用css文件:<link href="url" type="text/css" rel="stylesheet">
如果写在前台页面中:<type="text/css"></type>
解决方案 »
- 配额不足,无法处理此命令。
- 求教一段代码,运行后什么都不显示
- 谁能给个GridView控件配合DetailsView控件实现修改及添加列的实例代码?
- 页面全局变量无法传递
- 火气大了,,关于页面刷新提交数据的问题!!
- 不是很难的问题,但找不到答案,请大家帮帮我!
- sqlserver里面的iamge类型字段生成文件保存在服务器的一个目录下
- 請問,DropDownList怎麼做到把從數據庫中取出來的值顯示出來,而其他項點下來標誌的時候也還存在
- 如何得服务嚣端的时间呢?不是客户端的!!
- 欢迎讨论,关于水晶报表实现:折线图,或者柱形图问题
- 如何让网页播放wmv格式文件。 要在firefox下支持的
- petshop是webapplication如何使用Profile
不好意思,上面的错了。
写在前台页面中:<style type="text/css"></style>
JAVA没用过,不知道有什么不同。。
{
}
a:link{color:blue;text-decoration:none}
a:visited{color:green;text-decoration:none}
a:hover{color:red;text-decoration:underline overline;font-size:12pt}
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="南無阿弥陀佛!南無观世音菩萨!南無大势至菩萨!南無释迦牟尼佛!南無地藏王菩萨!南無普贤菩萨!" %> <style type="text/css">
.style8
{
width: 100%;
}
.style9
{
font-size: small;
color: #0000ff;
}
.style10
{
color: #0000ff;
font-size: small;
}
.style11
{
width: 25%;
background: #009900;
}
.style12
{
text-align: left;
font-size: small;
width: 50%;
}
.style13
{
text-align: left;
font-size: small;
}
.style14
{
font-size: small;
text-align: left;
width: 80%;
}
.style15
{
width: 35%;
text-align: left;
font-size: small;
}
.style16
{
width: 65%;
text-align: left;
font-size: small;
}
.style17
{
width: 20%;
font-size: small;
color: #FF0000;
}
.style18
{
width: 20%;
font-size: small;
color: #0000ff;
}
.style19
{
width: 20%;
background: #009900;
}
</style>