還有如下方法:
南關網站建設公司創新互聯,南關網站設計制作,有大型網站制作公司豐富經驗。已為南關上千家提供企業網站建設服務。企業網站搭建\外貿網站建設要多少錢,請找那個售后服務好的南關做網站的公司定做!
1
使用theme,右擊網站名字,選asp.net文件夾,并選app_themes,添加主題,不取中文名,如theme1
2
右擊themes,新建項,選css,
3
將代碼拷入:(不需寫樣式的頭和尾)
.fu1
{
font-size:
12px;
color:red;
font-family:"仿宋_gb2312"
}
.fu2
{
font-size:
12px;
line-height:
20px;
color:
#0033cc;
}
a.ok:link
{
font-size:
12px;
color:
#993300;
text-decoration:
none;
}
a.ok:hover
{
font-size:
12px;
color:
#ff99cc;
text-decoration:
none;
}
a.ok:active
{
font-size:
12px;
color:
#6699cc;
text-decoration:
none;
}
a.ok:visited
{
font-size:
12px;
color:
#cc3333;
text-decoration:
none;
}
a:link
{
font-size:
12px;
color:
#0066cc;
text-decoration:
none;
}
a:hover
{
font-size:
12px;
color:
#009900;
text-decoration:
none;
}
a:active
{
font-size:
12px;
color:
#0066cc;
text-decoration:
none;
}
a:visited
{
font-size:
12px;
color:
#0033cc;
text-decoration:
none;
}
table
{
color:
#ff9900;
background-color:
#cccccc;
}
4
在需要用的頁面的源視圖第一行代碼中加入:
theme=theme1
5
最在要用的控件上
!--link href="路徑.css" rel="stylesheet" type="text/css" / --
這個答案不是你想要的話,看看下面的
link href="路徑.css" rel="stylesheet" type="text/css" disabled/
div class='aa'fsdfsdf/div
這個加上了 disabled 這樣這個 路徑.css 就不在讀取了,
要是還不是你想要的,請列出你的代碼,并說明情況,想要達到的操作,
根據你的問題 也只能這個回答了
現次回答
link href="aa.css" rel="stylesheet" type="text/css" class='aa'/
script
var LinkId=document.all.tags("link");
for (var i=0;iLinkId.length;i++ ){
if (LinkId[i].href=='aa.css'){LinkId[i].href='';}
}
/script
div class='classname'fsdfsdf/div
#CategoryTree ul
把樣式中的所有# 替換成.
.CategoryTree ul
+++++++++++++++++
這樣定義:
.Openeds
{
background:url(skin3/opened.gif) no-repeat 0 1px;
}
img.s
{
background:url(skin3/opened.gif) no-repeat 0 1px;
}
+++++++++++++++++++++
不聊Q好多年了。
你可以分步定義,定義的方法有很多。
如果你不懂CSS,我說再也,也等于白說。
使用Firefox瀏覽器,然后安裝Web Developer插件。
之后在Web Developer工具欄中你能找到這個:
無CSS錯誤-禁用樣式-所有樣式(Ctrl+Shift+S)
點擊這個。
呼~~~所有CSS效果都沒了……
網站名稱:禁用頁面所有css樣式,css禁用屬性
文章出自:http://vcdvsql.cn/article40/dsdedeo.html
成都網站建設公司_創新互聯,為您提供建站公司、外貿網站建設、關鍵詞優化、網站建設、、品牌網站建設
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯