请教:
vs2005中我在使用样式的时候使用<style></style>方式引用样式
在设计模式下样式就能正常生效显示。
但是采用<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
却不能正常显示样式。
请教原因
我只是觉得在VS2005的设计模式看着不舒服。
不像VS2003一样样式马上有效
虽然结果是样式是正确的
路径一定正确
vs2005中我在使用样式的时候使用<style></style>方式引用样式
在设计模式下样式就能正常生效显示。
但是采用<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
却不能正常显示样式。
请教原因
我只是觉得在VS2005的设计模式看着不舒服。
不像VS2003一样样式马上有效
虽然结果是样式是正确的
路径一定正确
解决方案 »
- asp.net高手进 判断image是否为空 button单击时两下才有反应 谢谢大家!
- asp.net中的panel好像和vb,delphi的panel不同?
- 求网页之间传递数据的问题!
- 深圳有沒有.net俱乐部之類的組織?有相關活動沒?
- 更改access数据库
- asp.net访问网络映射问题
- 怎么获得全部的QueryString????
- 简单的问题!怎么将一个页面的底部显示在浏览器的中央位置(在BUTTON的单击事件处理函数中)
- regsvr32 "D:\CNBlogs.DCT.THIN.dll" 出现这个错误
- .net Aspose.Cells 导出excel直接浏览器下载
- 为什么我点击ButtonColumn的按钮会出现这个惊天大错误!请务必帮忙>0<!
- 用Vistual Studio排版你烦了吗?
另外注意样式的大小写.
应该没有问题吧
<link href="Adm/Css/adm_main.css" rel="stylesheet" type="text/css" />
这个路径不知乍么搞,我也碰到这样的问题,还没有很好的办法
可能是大小写的问题.vs2005的界面默认加了<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >css也区分大小写了.
同意...
BODY {
SCROLLBAR-HIGHLIGHT-COLOR: buttonface; SCROLLBAR-SHADOW-COLOR: buttonface; SCROLLBAR-3DLIGHT-COLOR: buttonhighlight; SCROLLBAR-TRACK-COLOR: #aaaaaa; SCROLLBAR-DARKSHADOW-COLOR: buttonshadow; background-repeat: repeat;margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;
}
.b9p {
font-size: 9pt;
color: #FFFFFF;
text-decoration: none;
padding-top: 5px;}
.h9p {
font-size: 9pt;
color: #000000;
text-decoration: none;
line-height: 14pt;
}.input {
font-size: 9pt;
border: 1px outset #666666;
}
body {
background-repeat: repeat;
}.button {
BORDER-RIGHT: #2C59AA 1px solid; PADDING-RIGHT: 2px; BORDER-TOP:
#2C59AA 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER:
progid:DXImageTransform.Microsoft.Gradient(GradientType=0,
StartColorStr=#ffffff, EndColorStr=#C3DAF5); BORDER-LEFT: #2C59AA
1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
BORDER-BOTTOM: #2C59AA 1px solid
}td {
font-family: "??ì?";
font-size: 9pt;
}.d9p {
font-family: "??ì?";
font-size: 9pt;
line-height: 18px;
}
a:link {
text-decoration: none;
color: #333333;
}
a:visited {
text-decoration: none;
color: #333333;
}
a:hover {
text-decoration: underline;
color: #333333;
}
a:active {
text-decoration: underline;
color: #333333;
}
a.bbb:link {
text-decoration: none;
color: #333333;
}
a.bbb:visited {
text-decoration: none;
color: #003366;
}
a.bbb:hover {
text-decoration: underline;
color: #CC0000;
}
a.bbb:active {
text-decoration: underline;
color: #CC0000;
}
.bg {
background-repeat: repeat-x;
}.bt {
font-size: 16px;
color: #000000;
}
.Ddl{
{ BORDER-RIGHT: #000000 1px solid;
BORDER-TOP: #FFFFFF 1px solid;
FONT-SIZE: 12px;
BORDER-LEFT: #FFFFFF 1px solid;
COLOR:#003366;
BORDER-BOTTOM: #000000 1px solid;
BACKGROUND-COLOR: #f4f4f4;
}.xtlj:hover
{
left: 1px;
position: relative;
top: 1px;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}.table {
border-right-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #E2E0E0;
border-left-color: #E2E0E0;
}
.textarea
{
scrollbar-face-color:ffffff;
scrollbar-shadow-color:C1C1BB;
scrollbar-highlight-color:C1C1BB;
scrollbar-3dlight-color:EBEBE4;
scrollbar-darkshadow-color:EBEBE4;
scrollbar-track-color:F4F4F0;
scrollbar-arrow-color:CACAB7;
border: 1px solid #D5D5D5;}