OK,
I have a header.asp, footer.asp and default.asp
header looks like this:
<head>
<link href="style1.css" rel="stylesheet" type="text/css">
<title>Test Site</title>
</head>
<body>
</table>
<table border="1" cellspacing="1" cellpadding="1" width="100%">
<tr class="mainmenu">
<td>Home</td>
<td>Gallery</td>
<td>Events</td>
<td>Directions</td>
<td><A href="members.asp">Members Area</A></td>
</tr>
</table>
</table>
<br>
no closing body or html, it appears in the footer.asp
footer.asp looks like this:
</body>
</html>
default.asp looks like this:
<!-- #include file="header.asp" -->
<table class="mainmenu">
<tr><td>This is a test</td></tr>
</table>
<!-- #include file="footer.asp" -->
style1.css looks like this:
<STYLE>
BODY
{
}
.mainmenu
{
COLOR: ivory;
BACKGROUND-COLOR: dodgerblue
}
</STYLE>
My issue is this... The mainmenu class for the menu in the header works fine and the colors I set in the style1.css file show up correctly in the header.
However, the SAME mainmenu class in the default.asp file does not color the table like it did in the header.asp.
SSI = Server Side Include
------------
Header <-- Color works here (SSI page)
------------
Default <-- Color does not work here (Loaded page)
------------
Footer <-- Have not tested color here (SSI page)
------------
Default has no reference to the style1.css page, except for the fact that default.asp does a server side include of header.asp.
So now for my question. Are CSS references and classes preserved across pages that use server side includes?
I'm using IIS 5.0 on Windows 2000 Server. Snaggs
tribesaddict@swbell.net
Life can only be understood backwards; but it must be lived forwards.
I have a header.asp, footer.asp and default.asp
header looks like this:
<head>
<link href="style1.css" rel="stylesheet" type="text/css">
<title>Test Site</title>
</head>
<body>
</table>
<table border="1" cellspacing="1" cellpadding="1" width="100%">
<tr class="mainmenu">
<td>Home</td>
<td>Gallery</td>
<td>Events</td>
<td>Directions</td>
<td><A href="members.asp">Members Area</A></td>
</tr>
</table>
</table>
<br>
no closing body or html, it appears in the footer.asp
footer.asp looks like this:
</body>
</html>
default.asp looks like this:
<!-- #include file="header.asp" -->
<table class="mainmenu">
<tr><td>This is a test</td></tr>
</table>
<!-- #include file="footer.asp" -->
style1.css looks like this:
<STYLE>
BODY
{
}
.mainmenu
{
COLOR: ivory;
BACKGROUND-COLOR: dodgerblue
}
</STYLE>
My issue is this... The mainmenu class for the menu in the header works fine and the colors I set in the style1.css file show up correctly in the header.
However, the SAME mainmenu class in the default.asp file does not color the table like it did in the header.asp.
SSI = Server Side Include
------------
Header <-- Color works here (SSI page)
------------
Default <-- Color does not work here (Loaded page)
------------
Footer <-- Have not tested color here (SSI page)
------------
Default has no reference to the style1.css page, except for the fact that default.asp does a server side include of header.asp.
So now for my question. Are CSS references and classes preserved across pages that use server side includes?
I'm using IIS 5.0 on Windows 2000 Server. Snaggs
tribesaddict@swbell.net
Life can only be understood backwards; but it must be lived forwards.