P
Paul F. Johnson
Hi,
The top of the HTML on the webpages at http://www.all-the-johnsons.co.uk
looks like this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="Bluefish">
<meta name="author" content="Paul">
<meta name="copyright" content="PFJ 2003">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<title>www.all-the-johnsons.co.uk - ACCU Mentored Developers GUI
programme</title>
<link href="../css/atj.css" rel="stylesheet" type="text/css" />
<script src="../javascript/netscape.js" language="javascript"
type="text/javascript">
</script>
</head>
<body>
When I come to validate this, I get on just about every page the same
errors that </head> is not allowed as <head> is not open and the <body> is
not allowed where it is.
From what I can see though, there is nothing missing, head is open and
body is straight after the </head>.
Anyone spot the problem there?
My second problem is on the stylesheet (which does validate). Under IE 6,
this causes a problem
#container { position: relative; width: auto; margin:
auto; padding: 0; color: #000; background: white
url("/images/arrow.png") no-repeat scroll -30%30%; text-align: left;}
If the url("/images/arrow.png") is omitted, everything looks fine and
dandy, if it's in there, then the pages at
http://www.all-the-johnsons/accu/index.html (click on the lessons on the
left) go screwy with their formatting.
I'm currently re-working these pages as they totally fail to validate, so
that may be the problem.
Is it that the open source browsers are more forgiving when it comes to
style sheet mishaps or have I hit undefined behaviour in HTML?
TTFN
Paul
The top of the HTML on the webpages at http://www.all-the-johnsons.co.uk
looks like this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="Bluefish">
<meta name="author" content="Paul">
<meta name="copyright" content="PFJ 2003">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<title>www.all-the-johnsons.co.uk - ACCU Mentored Developers GUI
programme</title>
<link href="../css/atj.css" rel="stylesheet" type="text/css" />
<script src="../javascript/netscape.js" language="javascript"
type="text/javascript">
</script>
</head>
<body>
When I come to validate this, I get on just about every page the same
errors that </head> is not allowed as <head> is not open and the <body> is
not allowed where it is.
From what I can see though, there is nothing missing, head is open and
body is straight after the </head>.
Anyone spot the problem there?
My second problem is on the stylesheet (which does validate). Under IE 6,
this causes a problem
#container { position: relative; width: auto; margin:
auto; padding: 0; color: #000; background: white
url("/images/arrow.png") no-repeat scroll -30%30%; text-align: left;}
If the url("/images/arrow.png") is omitted, everything looks fine and
dandy, if it's in there, then the pages at
http://www.all-the-johnsons/accu/index.html (click on the lessons on the
left) go screwy with their formatting.
I'm currently re-working these pages as they totally fail to validate, so
that may be the problem.
Is it that the open source browsers are more forgiving when it comes to
style sheet mishaps or have I hit undefined behaviour in HTML?
TTFN
Paul