Help - Search - Members - Calendar
Full Version: links wont work
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Sara Elizabeth
Only on the index.php file. On the other parts on my site they work fine. I used your HTML Validator, and it shows that some of my tags aren't closed off correctly and I know I still need to specify a doctype, but the links themselves should work. There's nothing different in the codes. Here is the code:

QUOTE
<html>
<head>
<title>LV H20 Water: Water Issues In Lucerne Valley</title>
<style type="text/css">

body
{ margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}

#header {
margin: 20px;
padding: 10px;
height: 100px;
}
#left {
position: absolute;
left: 15px;
top: 280px>
width: 267px;
}
#center {
top: 270px;
margin-left: 280px;
margin-right: 15px;
}
#nav {
left:500px;
}

</style>
</head>

<body>

<div id="header">
<div style="position: absolute; top:4px; left:4px">
<img src="tank1.jpg">
</div>
<div style="position: absolute; top:4px; left:195px">
<img src="banner.jpg">
</div>
<div style="position: absolute; top:4px; left:800px">
<img src="tank2.jpg"></div>
<div style="position: absolute; top:204px; left:4px">
<BR><BR>
<B><a href="http://lvh20water.com">Home</a> | About | Petition | What You Can Do | <a href="stories.php">Your Stories </a>| <a href="contact.php">Contact Us</a> | <a href="http://lvh20water.com/links.html">Resources/Links</a> <img src="h20.jpg"></b>
<BR>
<img src="border1.jpg" width="940" height="">
<BR><BR><BR></div>
</div>

<div id="left">
<BR><BR>
<div style="position: absolute; top:185px; left:4px">
<img src="pic1.jpg">
<BR>

<table width="267"><tr><td>
<font size=2>
<BR><b>PRIVATE WELL:</b> a hole drilled or bored into
<BR> the
earth to obtain water on ones own property.
<BR>
<B>COMMUNITY WELL:</B> a well shared with other dwellings.
<BR>
<B>CERTIFIED WELL:</B> a well that has its water tested and certified by government agencies.<BR>
<B>HOLDING TANKS:</B> a tank that is used to hold water,
that is delivered by a water hauler. It is then pumped into
your home.</td></tr></table></div>
</div></font></div></div>


<div id="center">
<div style="position: absolute; top:275px; left:300px">
<BR><BR>
<div id="nav">

<table width="600"><tr><td>
<font color="red">This site is currently under construction. The links above will not work until later this week!</font>
<BR><BR>
<font size=+5 face="Courier New" color="blue">Welcome</font>
<BR><BR>
<b>WATER</B> is one of the necessities of <B>LIFE</B> for all living things. <BR>In our lovely community, we have different
resourses for getting our water delivered into our homes.</align>
<BR><BR>
Welcome, residents of Lucerne Valley and other surrounding communities. This site is here to inform you of the water
issues in San Bernardino County. On August 3, 2007 the Department of Publich Health decided to follow up
on complaint(s) of water in Lucerne Valley and the surrounding area. This lead to a sting operation with the CHP and the
State on water haulers in the area. Due to their actions, this caused a serious water crisis for many residents of the
valley. The elderly, disabled, infants
and small children, and people with low-income were hit the hardest, with the
shut down of water to their community.<a href="about.html">(read more)</a>
<BR><BR><BR><center>
<font size=2>
<B>DIFFERENT TYPES OF WATER</B>
<br>
Potable water is to be free of pathogens (disease causing organisms)<BR>
have a desirable <BR>
taste <BR>
odour (smell) <BR>
colour and <BR>
turbidity (cloudiness) and <BR>
contain no harmful chemicals.<BR><BR>
Natural water from a river, lake or borehole usually has to be treated to make it potable
<BR>
<BR>
Non-Potable water is ater that is unsafe or unpalatable to drink because it contains pollutants,
contaminants, minerals, or infective agents. It is okay to use for animals, evaporative coolers, and other
watering uses. Not for human consumption.
</font></center>
</td></tr></table>


<BR>
<BR>
<BR>


<font size=+2 face="Courier New" color="red"><B>Latest Updates</u></font>
<img align="right" src="pic2.jpg" width="300">
<BR><BR>
<?PHP
$number=4;
include("/home/theresus/public_html/lvh20water.com/cutenews/show_news.php");
?>
<BR>

</td></tr></table>
<BR><BR>
<font size=+3>
We are grateful for having such caring people in our community</font>
<BR><BR>
<BR></div>
<marquee><font size=+5 face="Comic Sans Ms" color="red">A big thank you to all who voluntered your time, gave food, money, and water! </marqee></font>
</div>
</div></BODY></HTML>
</body>
</html>

Brian Chandler
You'll have to be a bit more specific. Posting the source of a page isn't very helpful - you can't expect people to debug it by sight - just post a link to the page with the problem (then we can automatically read the source if we want to).

Anyway, on a different page I got this:

The requested URL /about.html does not exist.

But on the page you seem to be citing (index.php), at least the first link I tried worked.

Perhaps it's confusion about filenames: index.htm and index.php are two different files. If you are switching existing pages to use php, it is **much** better (imnnpho) to leave the names the same; you will have to fiddle slightly with .htaccess to make the .html files go through the php interpreter, but once done there are no broken links from previous versions.









This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.