hello.
I have asp.net project in VS2012 and I have many pages within.
On each page i have style declaration for my menu as below:
<head id="Head1" runat="server">
<title>Page1</title>
<style type="text/css">
/* <![CDATA[ */
dl, dt, dd {
display: block;
margin: 0;
padding: 0;
}
dl {
width: 200px;
padding: 1px 1px;
background-color: white;
border: 3px double black;
}
dt {
padding: 10px 45%;
font-weight: bold;
font-size: larger;
background-color: #32297A;
color: white;
text-align: center;
border-right: 1px solid #32297A;
margin-top: 1px;
}
dd {
border-top: 1px solid #32297A;
}
dl a:link, dl a:visited {
display: block;
width: 176px;
text-decoration: none;
padding: 7px;
font-weight: bold;
background-color: #32297A;
color: white;
border-left: 10px solid white;
}
dl a:hover {
width: 166px;
background-color: white;
color: #32297A;
border-left: 20px solid #32297A;
}
str {
font-weight: bold;
padding: 6px 45%;
font-size:xx-large;
}
/* ]]> */
</style>
</head>
and I use as below co create menu:
<body>
<dt>Reporting Tool </dt>
<dl>
<dd><a href="Page5.aspx">Reports</a></dd>
<dd><a href="Page6.aspx">Querys</a></dd>
<dd><a href="Page7.aspx">Support</a></dd>
</dl>
</body>
Is it possible to move declaraction to one CSS file and the use it in each page ??
If yes, how can I use it after moving to css file??
BR