1
私は自分のウェブサイト上でASPメニューコントロールをヘッダとして使用していますが、現在のところメニュー用にCSSは定義されていませんが、何らかの理由でASPがページを読み込んで私のメニューのパディングを乱す。ASPは自動的にCSSをウェブサイトに挿入します
私はVSソリューション全体を検索して、挿入されたこれらのCSS値を変更する方法を探しましたが、見つけられませんでした。
<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>
上記のコードは、私が何とかAのパディング右値を変更するには汚い修正を気にいけない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>
に存在することになっているが、以下のコードが挿入されています。