2016-10-01 56 views
1

我使用在我的網站作爲標題中的ASP菜單控制,並已目前的菜單中沒有定義的CSS,但由於某種原因ASP加載頁面時自動插入一些CSS到我的網頁和弄亂我菜單上的填充。ASP自動插入CSS到網站

...我已經尋找一種方式來改變插入這些CSS值整個VS解決方案,但無法找到他們。

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link href="../Content/css/style.css" rel="stylesheet" type="text/css" /><link href="../Content/css/coin-slider.css" rel="stylesheet" type="text/css" /> 
    <script src="../Content/javascript/cufon-yui.js" type="text/javascript"></script> 
    <script src="../Content/javascript/cufon-times.js" type="text/javascript"></script> 
    <script src="../Content/javascript/jquery-1.4.2.min.js" type="text/javascript"></script> 
    <script src="../Content/javascript/script.js" type="text/javascript"></script> 
    <script src="../Content/javascript/coin-slider.min.js" type="text/javascript"></script> 

上面的代碼被認爲是有,但下面的代碼被插入到index.aspx

<style type="text/css"> 
/* <![CDATA[ */ 
#ctl05 { background-color:Black; } 
#ctl05 img.icon { border-style:none;vertical-align:middle; } 
#ctl05 img.separator { border-style:none;display:block; } 
#ctl05 img.horizontal-separator { border-style:none;vertical-align:middle; } 
#ctl05 ul { list-style:none;margin:0;padding:0;width:auto; } 
#ctl05 ul.dynamic { z-index:1; } 
#ctl05 a { text-decoration:none;white-space:nowrap;display:block; } 
#ctl05 a.static { padding:18px 45px 18px 45px;text-decoration:none; } 
#ctl05 a.popout { background-image:url("/WebResource.axd?d=YAYach_zykzn7tRotFpEUmO1fL8jOiyhzrMCvs8YZwkH3GP7lZCuWXNQruOKzP9a49jEMgtKQl2DkwKanmJIMc3YOWHLj04418ItgeJTIvI1&t=636042698594211026");background-repeat:no-repeat;background-position:right center;padding-right:14px; } 
#ctl05 a.dynamic { background-color:Gray;text-decoration:none; } 
#ctl05 a.dynamic.highlighted { background-color:Black; } 
/* ]]> */ 
</style> 
</head> 

我不介意髒修復以某種方式改變在一個填充右值。跳隙爲0

回答

0

使用自己的CSS文件/樣式塊可以覆蓋你需要使用後他們!important什麼性質?