Hi,
I'm having trouble getting XHTML to display correctly with my CSS Include file. The text and image display when uploaded and applied to a test page in SS, but the formatting is only applying itself to the <body>, and is not recognizing syle added to #container and #header. Here's the XHTML for this section:
[-- DEFINE PAGE --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/transitional.dtd">
<html>
<head>
<title>[-- PAGE.Name --]</title>
<style type="text/css">
[-- INCLUDE ccbc_main_styles.css PROCESS --]
</style>
<body>
[-- HEADER --]
<div id="container">
<div id="header">
<div id="logo"><img src="/media/img/ccbc_logo.png" alt="logo"></div>
Header Test
</div>
</div>
The corresponding CSS file is:
body {
background-color: #0C028E;
background-image: url(../img/body_bg.png);
background-repeat: no-repeat;
color: #0C028E;
font-family: "Century Gothic", Georgia, Arial, Verdana, sans-serif;
font-size: .8em;
margin:0em;
padding: 0em; }
#container {
width:800px;
margin:auto;
text-align:left;}
#header {
float:left;
width:90%;
background:#FFFFFF;
font-size:93%;
line-height:normal;
}
Any help would be greatly appreciated!
Heather