| Issue 236: | IE8 doctype issues | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Having a tree everything works in IE6, FF, Chrome, Opera. However if there is a doctype on the page, have tried: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> IE8 breaks, works fine without a D/T Using Dynatree version 1.2.0 and jQuery 1.6.1 Attached files, IE8 with doctype, IE8 without doctype, UL markup.
Oct 29, 2011
Project Member
#1
moo...@wwwendt.de
Labels:
Milestone-Release1.2.1
Dec 27, 2011
Thats because you passed invalid HTML.
IE seems to be more strict in standard or almost-standard mode.
This snippet is not allowed (LI must not contain a LI):
<li id="6_0" class="folder">
<a rel="7" href="/sub_sub_test">My Sub Sub Test</a>
<ul style="margin-left: 30px;">
<li id="file_7_0">
<a href="/file_a">File A</a>
</li>
<li id="file_7_1">
<a href="/file_b">File B</a>
</li>
</ul>
<li id="file_6_0">
<a href="/file_c">File C</a>
</li>
<li id="file_6_1">
<a href="/file_d">File D</a>
</li>
</li>
Status:
Invalid
|