I’m trying to reference my stylesheets from within my header include file, but its not working. Its not finding the css file for some reason. If I move the exact same reference and head tags from the include and put it with the html, it finds the stylesheets fine…
This is what is in my header include file…
[CODE]
<!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″ />
<meta name=”description”
content=”Sapp Brothers offers you clean travel centers, quality fuel, and the best service any travel center has to offer.” />
<meta name=”keywords”
content=”Sapp Bros Travel Centers Truck Stop diesel gas fuel ” />
<title>Sapp Bros Travel Centers, Inc.</title>
<link href=”/../styletest/mainexample.css” rel=”stylesheet” type=”text/css” />
<link rel=”stylesheet” type=”text/css” href=”/../styletest/style.css” />
<script type=”text/javascript”>var dmWorkPath=”/../styletest/omahahome/js_menu/data.files/”;</script>
<script type=”text/javascript” src=”/../styletest/omahahome/js_menu/data.files/dmenu.js”></script>
[B] <link href=”/../styletest/mainexample.css” rel=”stylesheet” type=”text/css” />
<link rel=”stylesheet” type=”text/css” href=”/../styletest/style.css” />[/B]
</head>
and the html that calls the include…
[CODE]<?php include(“/../styletest/header.php”); ?>