brayd
09-07-2008, 09:42 PM
I'm trying to insert my logo, a tagline and a small navigation bar in the branding section of my home page using Server Side Includes but its not working. All that's displaying is a big white space where everything should be. The branding section is at the very top of the home page and is sometimes referred to as the header section.
To see the problem please visit the following URL:
www.gochecksite.com
My file structure is as follows and I've listed the folders and files "in the exact order" when I open my public_html folder when uploading files to my server:
cgi-bin folder
css folder
images folder
include folder (contains my branding.html file that I'm trying to insert using Server Side Includes)
.htaccess file
eng-benefits.html file
index.html file
Below is the code on my home page that I'm using to insert the Server Side Includes:
<div id="branding">
<!--#include virtual="include/branding.html" -->
</div>
Below is the contents of my branding.html file:
<a href="index.html"><img class="positionlogo" src="images/logo.gif" alt="" /></a>
<img class="brandingtagline" src="images/brandingtagline.gif" alt="" />
<div class="brandinglinks">
<ul>
<li><a href="#">English</a></li>
<li><a href="#">French</a></li>
<li><a href="#">Spanish</a></li>
<li><a href="#">Russian</a></li>
<li><a href="#">Chinese</a></li>
</ul>
</div>
What do I have to do to get the Server Side Includes working so it inserts the contents of my branding.html file?
To see the problem please visit the following URL:
www.gochecksite.com
My file structure is as follows and I've listed the folders and files "in the exact order" when I open my public_html folder when uploading files to my server:
cgi-bin folder
css folder
images folder
include folder (contains my branding.html file that I'm trying to insert using Server Side Includes)
.htaccess file
eng-benefits.html file
index.html file
Below is the code on my home page that I'm using to insert the Server Side Includes:
<div id="branding">
<!--#include virtual="include/branding.html" -->
</div>
Below is the contents of my branding.html file:
<a href="index.html"><img class="positionlogo" src="images/logo.gif" alt="" /></a>
<img class="brandingtagline" src="images/brandingtagline.gif" alt="" />
<div class="brandinglinks">
<ul>
<li><a href="#">English</a></li>
<li><a href="#">French</a></li>
<li><a href="#">Spanish</a></li>
<li><a href="#">Russian</a></li>
<li><a href="#">Chinese</a></li>
</ul>
</div>
What do I have to do to get the Server Side Includes working so it inserts the contents of my branding.html file?