I have a page on my system that works in one file, but not in the other. The only thing that is different between the two files is that I have one page where the style sheet is embedded, and the other is linked.
The one that works is where the style sheet is embedded. The linked doesn't work.
-----------------
Here is the css:
html, body {
font-size: 100.01%;
font-family: Arial, Verdan, sans-serif;
text-align: center;
margin-top: 5px;
background-image: url(images/background1.gif);
background-color: #FFDFDF;
color: #000;
}
* {
margin: 0px;
padding: 0px;
border: 0px;
list-style-type: none;
}
div#header {
width: 774px;
height: 300px;
margin-left: auto;
margin-right: auto;
margin-bottom: 15px;
background-color: #FFDFDF;
}
div#hdrnav {
width: 774px;
height: 25px;
float: left;
}
div#mainwrapper {
width: 774px;
margin-right: auto;
margin-bottom: .665em;
margin-left: auto;
background-color: #F8E6E4;
color: #000;
text-align: left;
}
div#content {
width: 570px;
float: left;
}
div#content p {
text-indent: .875em;
line-height: 1.25em;
margin-top: .74em;
margin-right: .875em;
margin-left: .875em;
}
/*begin navigation styles*/
div#sidenav {
width: 200px;
float: left;
background-color: #FFDFDF;
}
div#sidenav {
width:125px;
float: left;
}
div#sidenav li {
display: in-line-block;
list-style-type: none;
padding-top: 15px;
padding-bottom: 15px;
margin-left: 2px;
border-bottom: 1px solid black;
}
div#sidenav li a {
padding-left: 20px;
text-decoration: none;
color: #BA3836;
font-size: .775em;
font-weight: bold;
}
div#sidenav li a:hover {
color: #84303D;
font-size: .775em;
font-weight: bold;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {display: inline-table;}
/* \ */
* html .clearfix {height: 1%;display: block;}
/* */
div#footer {
width: 774px;
float: left;
text-align: center;
font-size: .775em;
}
-------------------
I'm baffled and am going back and forth trying to figure it out. Any help would be appreciated.
The image is located in the image file in both file sections, so there isn't anything changed with this either.
Thanks in advance.