Hi,
I have an XHTML 1.0 Strict document below. In the bost, I have a javascript function call. Something strange happens… when the page is rendered, the browser inserts a </head><body> immediately after the script. This means that the <body> then essentially starts just before <p>Hello World 2</p>, so that’s all I see. Does anyone have any ideas?
[CODE]<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>
<title>Hello World</title>
<meta http-equiv=”content-type” content=”application/xhtml+xml; charset=iso-8859-1″ />
<link rel=”StyleSheet” href=”helloWorld.css” type=”text/css” media=”all” />
<script src=”demoExtra.js” type=”text/javascript” />
<script src=”browserDetect.js” type=”text/javascript” />
<script src=”demoEngine.js” type=”text/javascript” />
<script src=”demoNodes.js” type=”text/javascript” />
</head>
<body>
<p>Hello World 1</p>
<script type=”text/javascript”>
initializeDocument();
</script>
<p>Hello World 2</p>
</body>
</html>
Thanks,
FF.