Ok, so my first every question here was me trying to remember what SSIs were. Well now on a totally different project I'm having trouble. This time instead of working directly through FTP on the server I have all the files local.
My problem is, SSI isn't working. I'm sure its because unlike the servers, its not setup. So I was wondering how I could do that locally? But I did publish the files to my server and didn't seem to get anything out of that either. My host is GoDaddy and in the past they have always ran it fine.
Page with the include(at the bottom):
Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
html, body {
width: 100%;
}
body {
margin: 0;
padding: 0;
}
#navbar {
position:relative;
top:50px;
min-width:100%;
height:30px;
background-color: #fdb82f;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="navbar"></div>
<!--#include file="navbar.html" -->
</body>
</html>
|
Actual include:
Quote:
<style type="text/css">
<!--
#home {
position: absolute;
left: 265px;
top: 6px;
}
#services {
position: absolute;
left: 320px;
top: 6px;
}
#whyus {
position: absolute;
left: 380px;
top: 6px;
}
#portfolio {
position: absolute;
left: 440px;
top: 6px;
}
#contact {
position: absolute;
left: 500px;
top: 6px;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css">
<div class="nav-boldwhite" id="home">Home</div>
<div class="nav-boldwhite" id="services">Serives</div>
<div class="nav-boldwhite" id="whyus">Why Us?</div>
<div class="nav-boldwhite" id="portfolio">Portfolio</div>
<div class="nav-boldwhite" id="contact">Contact Us</div>
|
|