Hi!
I try to create some li elements in my XUL Application. Theres only the text of the elements shown, but no list typical bullets and linebreaks.
Example:
- text
- text text text text text text
Heres the JS Code I use to create the list:
var li = document.createElement('html:li');
var txt = document.createTextNode("only shown as simple text");
li.appendChild(txt);
document.getElementById('someList').appendChild(li);
HTML:
<html:ul id="someList">
<html:li>this is shown in correct list style</html:li>
</html:ul>
I tried 'html:li' and also 'li' but nothing worked.
Any suggestions?