P
Paul Marsh
Hello everyone,
I am attempting to create a xhtml page that uses a bit of dhtml.
The javascript I am using uses
document.getElementById('someId').style.someProperty; and is and
external script. My page uses this dtd:
<!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">
It validates at the wc3 validator as correct xhtml, but the problem is
my script does not function. When I remove the dtd, the script
functions as normal.
I am obviously missing something here and would appreciate any
feedback.
Paul Marsh.
I am attempting to create a xhtml page that uses a bit of dhtml.
The javascript I am using uses
document.getElementById('someId').style.someProperty; and is and
external script. My page uses this dtd:
<!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">
It validates at the wc3 validator as correct xhtml, but the problem is
my script does not function. When I remove the dtd, the script
functions as normal.
I am obviously missing something here and would appreciate any
feedback.
Paul Marsh.