
Originally Posted by
pyromancer3d
I've got the same problem here, with only IE, and it flickering, etc.
The Doctype I have is as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
I see it expand (after flickering closed) and I see it collapse, but then flash back open fully.
I've tried an alternate script to accomplish the same thing, but it does not work anywhere near as well, and would much prefer this one, but due to the nature of where the collapsable div is, it obscures normal viewing of the page when opened, so the page is unusable by IE users
That's not a DOCTYPE that puts IE into 'almost standards' (as good as it gets in IE) mode. Use:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
or:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
The key is the valid URL (highlighted) to the DOCTYPE definitions file for each DOCTYPE, and of course the particular DOCTYPE itself.
Bookmarks