Help for web code

What have I got incorrect here?

Mark


blank Page.txt (508 Bytes)

Since your using the website templates, why don’t you just use the wxnewpage that comes in the templates to create a new page for your site, or are you trying to do something else?

Not using the template. I gave up trying to strip the code out. I am using this template http://freewebtemplates.me/listings/976 It is the same only different :wink:

Mark

So this site here http://www.burgus.org/index.php isnt using Ken’s template? Looks like it.

Yes my site is using it. Are you implying that I am trying to hijack the weather template?? Take the time to look at the link. You will see that is is very similar to the weather template.

I am trying to understand how the code works. And I found trying to understand the weather template was too much. I found this template and it looks similar to the weather one. But MUCH easier for me to understand.

Mark

Your Website Title Here
<?php include("header.php"); ?> <?php include("leftnav.php"); ?>
Home :: Category :: This Page

Page Headline Here

Thank you for downloading this template.

Demo Link - Demo Link - Duplicate template.php to make extra pages. Name these extra pages anything you want as long as they end with .php. Plug your content into these pages. No need to duplicate anything else.

Update your navigation links by editing header.php, leftvav.php and footer.php.

CSS Box Demo - Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

		</p>
		<p>
			Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. 
		</p>
		<h3>
			Heading 3
		</h3>
		<p>
			<a href="#">Demo Link</a> - Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
		</p>
	</div>
</div>
<?php include("footer.php"); ?>
<!-- credit link to remain intact, see readme.txt-->
<div id="credit" class="right">
	web design by <a href="http://freewebtemplates.me/">freewebtemplates.me</a>
</div>

Not even close, was just a question. Was just trying to figure out why you couldn’t use the newpage from the templates.

Sorry for the nasty. By now I should know better to write as soon as I read. Strange I always write the email and then “post” it the next day. But on the flip side I did post a link to the code I am using. I thought that it showed that I was not using a weather template.

But back to the original question. Why is this incorrect? It says I have an overlapping or unclosed tag?

Two Dogs Farm [color=yellow]
[/color] <?php include("header.php"); ?> <?php include("leftnav.php"); ?> [color=yellow]
[/color]

Ya Ya Ya

Bla Bla Bla

<?php include("footer.php"); ?> <?php include("cright.php"); ?>

It looks like you have 3

opens, and only 1
(assuming there aren’t any unmatched in footer.php and cright.php)

Try using

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
   <title>Two Dogs Farm</title>
   <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
</head>
<body>
<div id="mainwrap">
   <?php include("header.php"); ?>
   <?php include("leftnav.php"); ?>
   <div id="contentwrap">
      <div id="content">
         <h2>
            Ya Ya Ya
         </h2>
         <p>Bla Bla Bla</p>
   <?php include("footer.php"); ?>
   <?php include("cright.php"); ?>
      </div> <!-- end content -->
   </div> <!-- end contentwrap -->
</div> <!-- end mainwrap -->
</body>
</html>

If I close them in this section of code. The website does not work. But I did not think about looking in the other sections.

Thank you
Mark

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.