Jump to content

contemporaneous

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

contemporaneous's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Yep, that was it. I'm not sure how it made a difference, either. I didn't think that would affect the raw code. Even looked the same. I spent all day trying to figure that out. lol. Thanks again.
  2. MasterACE14: Thanks for the help -- and it did work, by the way -- but I can't for the life of me see any difference between the original code I had and your changes other than that yours is showing in red and mine's showing in blue.
  3. So I've been trying to figure out where I'm going wrong with calling up separate html files into my php file. I was following the instructions for this procedure over at http://www.apaddedcell.com/how-automatically-include-your-header-navigation-and-footer-every-page and as far as I can tell, I've followed it to the letter; even to the extent of pasting their code in directly. This is my index.php code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Home page – My Website</title> <meta http-equiv="description" content="page description" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <style type=”text/css”>@import “styles.css”;</style> </head> <html> <body> <?php include(“includes/header.html”);?> <?php include(“includes/navigation.html”);?> This is the content of the page <?php include(“includes/footer.html”);?> </body> </html> In my particular exercise, I have the header and navigation in one file called header.html. This is the URL I'm testing it out on: http://dreamscapecreative.net/templates/index.php. It's supposed to pretty much look like this (focusing on the header/nav and footer http://dreamscapecreative.net/ Thanks in advance to anyone who'd like to chime in and tell me where I'm going wrong. It seemed pretty straightforward, from the tutorial. Is it something painfully obvious?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.