When i insert something like this:
<ul>
<ul>
<ul>
<li>- 1 </li>
<li>- 2 </li>
<li>- 3 </li>
<li>- 4 </li>
<li>- 5 </li>
</ul>
</ul>
</ul
it is changed to:
<div style="MARGIN-LEFT: 4em">
<ul>
<li>- 1 </li>
<li>- 2 </li>
<li>- 3 </li>
<li>- 4 </li>
<li>- 5 </li>
</ul>
</div>
Since i don't want inline styles in my source, is this a browser issue or is it done by FCKeditor?
Where can i change this behaviour?
<ul>
<ul>
<ul>
<li>- 1 </li>
<li>- 2 </li>
<li>- 3 </li>
<li>- 4 </li>
<li>- 5 </li>
</ul>
</ul>
</ul
it is changed to:
<div style="MARGIN-LEFT: 4em">
<ul>
<li>- 1 </li>
<li>- 2 </li>
<li>- 3 </li>
<li>- 4 </li>
<li>- 5 </li>
</ul>
</div>
Since i don't want inline styles in my source, is this a browser issue or is it done by FCKeditor?
Where can i change this behaviour?
RE: nested lists
Are you using the 2.1 preview? Could be the new return-interceptor. Does some stuff for lists... otherwise, if you're on old version, could be cuz they're empty (the UL's). Have you tried adding some attributes to them or something so they're different? Does it do this with non-empty UL's? I can't test right now or I'd check.
I love asynchronous stuff...
If I get a chance I'll at least try it myself, and get backto ya.
RE: nested lists
What i'm tryiong to do is to style an unordered list with this:
ul {
list-style: none;
margin-left: 0;
padding-left: 0.6em;
text-indent: -0.6em;
}
Of course, i've put this little bit of css into fckstyles.xml.
RE: nested lists
ul tags can only contain li tags.
<ul>
<ul>
<ul>
<li>- 1 </li>
<li>- 2 </li>
<li>- 3 </li>
<li>- 4 </li>
<li>- 5 </li>
</ul>
</ul>
</ul>
Should be
<ul>
<li>
<ul>
<li>
<ul>
<li>- 1 </li>
<li>- 2 </li>
<li>- 3 </li>
<li>- 4 </li>
<li>- 5 </li>
</ul>
</li>
</ul>
</li>
</ul>