Why does the editor insist on making the text before a list it's own paragraph?
It does this:
Header Text:
- item 1
- item 2
- item 3
when I want:
Header Text:
- item 1
- item 2
- item 3
I can make the change in the source editor, but as soon as I hit the WYSIWYG editor, it reverts. Is there any way to change this behavior?
thanks
It does this:
Header Text:
- item 1
- item 2
- item 3
when I want:
Header Text:
- item 1
- item 2
- item 3
I can make the change in the source editor, but as soon as I hit the WYSIWYG editor, it reverts. Is there any way to change this behavior?
thanks
Re: <p> and <ul>
Re: <p> and <ul>
Well it's going to have to be a paragraph or a header, both of which have default styles/ paddings/ margins etc... so you're going to have to change the style
Re: <p> and <ul>
That's a funny way to ask for help.
Anyway, you have to have a block level element above the list, be that a paragraph or a div. Add your own style and you will be able to pick it from one of the combo boxes. See these for instructions:
http://docs.fckeditor.net/FCKeditor_2.x ... ion/Styles
http://docs.fckeditor.net/FCKeditor_2.x ... stomStyles
You can also wrap everything in a div and style <ul> instead to reduce the top margin. Take a look at templates if you want to automate this to some extent.
Re: <p> and <ul>
Correctly formed code is very important, but the editor may only be providing a snippet of the full page. Skins, XSLT, etc. may be providing other elements. This particular instance is using the FCK editor that "comes with" DNN.
Re: <p> and <ul>
<div class="title-list">
Header Text:
<ul>
<li>- item 1
<li>- item 2
<li>- item 3
</ul>
</div>
, it will do what you are looking for. You will just need to configure padding on the div and the top margin on the ul element.
Re: <p> and <ul>
Thanks
Re: <p> and <ul>
I am aware that current version of editor does not support definition lists however V3 might include it.