M
Matthew Schubert
I have reason for an element on a page to be static, like the CSS property
"position: fixed" defines.
Obviously, this CSS property doesn't work in IE :-/
I have looked around at alternatives, and found one that suits my needs, an
active Javascript that changes the position of the element when the page is
scrolled.
A simple test implementation of the script can be seen at
http://evil.mooo.com/test.html. It works perfectly.
When I add a <!DOCTYPE> declaration to the top of the page, so it conforms
with W3C's standards, the script breaks, and I get this
http://evil.mooo.com/test2.html.
What is happening? Any ideas?
"position: fixed" defines.
Obviously, this CSS property doesn't work in IE :-/
I have looked around at alternatives, and found one that suits my needs, an
active Javascript that changes the position of the element when the page is
scrolled.
A simple test implementation of the script can be seen at
http://evil.mooo.com/test.html. It works perfectly.
When I add a <!DOCTYPE> declaration to the top of the page, so it conforms
with W3C's standards, the script breaks, and I get this
http://evil.mooo.com/test2.html.
What is happening? Any ideas?