Harriet Potter
08-21-2005, 06:48 AM
Hey guys!
I'm so very lost. I just can't seem to get my site (http://www.hpfanz.org) to validate. It's VERY frustrating. Little help, please?
Harri Potter.
Cherchezlafemme
08-21-2005, 07:03 AM
Uhm try looking at this maybe? http://jigsaw.w3.org/css-validator/validator?uri=www.hpfanz.org&usermedium=all
Chris
08-21-2005, 10:49 AM
It really doesn't matter whether its exactly valid or not. If it looks good in most browsers and it works properly, whats the problem?
Monkey Bizzle
08-22-2005, 12:26 AM
First things first... If you look at your code (I am viewing your source so if you use PHP includes, I am not seeing the code as you wrote it... just to let you know), you will see that you have:
<html>
<head>
<title>Harry Potter Fans of Australia and New Zealand</title>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Harry Potter Fans of Australia and New Zealand</title>
Probably a simple mistake, but delete the red part... Also, you have chosen HTML 4.01 strict which really doesn't allow you to do much... You should use HTML 4.01 transitional so change the bold part to this:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Also, you have lots of <br /> tags in your coding... I'm not sure what tool you use to blog but it's converting all line breaks to <br /> which is XHTML... If you want your site to be 100% valid, you will have to switch to an XHTML doctype and change around some of your coding... Assuming you will stick to HTML 4.01 Transitional, I will continue evaluating your errors using that...
Other than that, the only other error you have is at the bottom of your page, you have 2 </html> tags:
</div>
</body>
</html></html>
Just delete the red part. Your site still won't be valid unles you switch to XHTML though...
Harriet Potter
08-22-2005, 08:09 AM
Thank you so much, folks. Especially Monkey Bizzle, you're a legend!! It's working fine now!