i cant seem to validate my pages

Soldato
Joined
1 Dec 2004
Posts
22,368
Location
S.Wales
Im trying to fix all the little bits but it dont seem to be making much of a difference, for example

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>
<script type="text/javascript" src="drop.js"></script>
<link href="style2.css" rel="stylesheet" type="text/css"></link>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Home</title>
</head>

<body>

<div id="container">

<div id="banner"></div>

<div id="navigation">

			<ul id="nav">
				<li><a href="index.htm">Home</a></li>

				<li><a href="index2.htm">About Us</a></li>

			<li><a>Up And Coming</a>
			<ul>
				<li><a href="index.php">Videos</a></li>
				<li><a href="index2.php">DVD</a></li>
				<li><a href="index3.php">Games</a></li>
			</ul>
		</li>
		
		<li><a href="index4.php?show=CAT">Rental Catalogue</a></li>

		<li><a>Stores</a>
			<ul>
				<li><a href="index7.htm">Coalville</a></li>
				<li><a href="index8.htm">Redditch</a></li>
				<li><a href="index9.htm">Solihill</a></li>
				<li><a href="index10.htm">Tamworth</a></li>
			</ul>
		</li>

		<li><a href="index11.htm">Contact Us</a></li>

	</ul>
</div>


<div id="maincontent">

	<p class="heading"> 
		Home 
	</p> 

</br>
	
	<p class="heading">
		Welcome to First Choice Videos, Your first choice for Videos, DVDs and Games.
	</p> 
<br />
	
	<p class="content">
		First Choice Videos is a family owned business with 4 chain shops located in the Central Midlands area, we are your choice for entertainment & media rental.
<br /><br /> 
		Our service is accompanied by low-low prices, beating any other leading rental store including the 2 most well known brands “Blockbuster” and “Global-Video”.
		At first Choice Videos we always put our customers first, meaning we are willing to go any length to keep our customers 100% satisfied, because without you, we wouldn’t be here.
<br /><br />
		Please check out our weekly updated catalogue to see the range of media currently in store available to rent.
		Once again thank-you and enjoy your stay, please remember to make a return visit as our product catalogue is updated every Saturday.
	</p>
	
	
    	<div align="center">
		<img align="middle" src="Images/logos.jpg" />
		</div>
</div>


<div id="footer">
	<p class="smallprint">Copyright ©2000 - 2006, First-Choice-Video Webmaster Logic Web-Designs LTD "[email protected]"</p>
</div>

</div>

</body>

</html>

Here is the validation results for this page...

http://jigsaw.w3.org/css-validator/...icot-pc-helpdesk.co.uk/fcv/database/index.htm

its moaning about the line

<div id="maincontent">

not having a </div> end tag when it does???
 
Soldato
Joined
18 Oct 2002
Posts
5,464
Location
London Town
[Sniper][Wolf] said:
its moaning about the line

<div id="maincontent">

not having a </div> end tag when it does???
It's actually about a closing </br> tag:
Code:
<div id="maincontent">
	<p class="heading"> 
		Home 
	</p> 
[b][color=red]</br>[/color][/b]
Remove or replace with </div> - whichever's necessary.
 
Back
Top Bottom