G
Guest
Hello all -
I'm trying to incorporate a stylesheet into an ASP.Net page but everytime I include the "LINK" code to the .css file in the HEADER location of the HTML code, the background color that I have set (which is blue) gets changed to white. Below is my code in the HTML of the ASP.NET page and then my code in the .css file. Any help is sincerely appreciated as I haven't worked with stylesheets alot in my past.
Thanks for any thoughts,
Mark
HTML code:
<HEAD><title>Property Sold Report Criteria</title><meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"><meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"><meta content="JavaScript" name="vs_defaultClientScript"><meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"><LINK href="Styles.css" type="text/css" rel="stylesheet"></HEAD><body bgColor="#b0c4de" MS_POSITIONING="GridLayout"><div class="RPTCRITERIA"><form id="Form1" method="post" runat="server">
...........controls on web form
</form></div></body>
...css File
BODY
{
word-spacing: normal;
font: icon;
text-transform: none;
letter-spacing: normal;
background-color: white;
}
RPTCRITERIA
{
word-spacing: normal;
font: icon;
text-transform: none;
letter-spacing: normal;
}
I'm trying to incorporate a stylesheet into an ASP.Net page but everytime I include the "LINK" code to the .css file in the HEADER location of the HTML code, the background color that I have set (which is blue) gets changed to white. Below is my code in the HTML of the ASP.NET page and then my code in the .css file. Any help is sincerely appreciated as I haven't worked with stylesheets alot in my past.
Thanks for any thoughts,
Mark
HTML code:
<HEAD><title>Property Sold Report Criteria</title><meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"><meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"><meta content="JavaScript" name="vs_defaultClientScript"><meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"><LINK href="Styles.css" type="text/css" rel="stylesheet"></HEAD><body bgColor="#b0c4de" MS_POSITIONING="GridLayout"><div class="RPTCRITERIA"><form id="Form1" method="post" runat="server">
...........controls on web form
</form></div></body>
...css File
BODY
{
word-spacing: normal;
font: icon;
text-transform: none;
letter-spacing: normal;
background-color: white;
}
RPTCRITERIA
{
word-spacing: normal;
font: icon;
text-transform: none;
letter-spacing: normal;
}