Skip to main content
Inspiring
Jul 19, 2017 4:23 PM UTC
Answered

Unable to make nested lists

This may sound stupid but at some point in the DW life cycle the developers have taken out a way to easily make nested lists (ol, ul, etc.). Before you could be in live view, on a list element, and hit tab and it would nest the element properly. Now hitting tab does nothing and if you next a list manually and then try and edit that list in live view, it almost always REMOVES the nested list you just built!

I don't always need to mess with nested lists, but it just so happens I had a ton to do for a client and it was a PIA fighting with DW the entire time.

And this is present in the Windows and Mac versions, BTW.

This topic is closed to new replies. Start a new post to keep the conversation going.
Nancy OShea
Nancy OSheaCorrect answer
Community Expert
Jul 19, 2017 4:47 PM UTC

I meant in Live view. If I do it in code view it doesn't do that.


Switch to Design View not Live View and you won't have problems working with lists.

Nancy O'Shea— Product User & Community Expert

6 replies

Nancy OShea
Community Expert
Community Expert
Jul 19, 2017 4:32 PM UTC

Why not save some time & use built-in Emmet code shortcuts to create your lists?

Type the code below followed by Tab key.

ul>li*5>ul>li*4

Results in this.

<ul>

    <li>

        <ul>

            <li></li>

            <li></li>

            <li></li>

            <li></li>

        </ul>

    </li>

    <li>

        <ul>

            <li></li>

            <li></li>

            <li></li>

            <li></li>

        </ul>

    </li>

    <li>

        <ul>

            <li></li>

            <li></li>

            <li></li>

            <li></li>

        </ul>

    </li>

    <li>

        <ul>

            <li></li>

            <li></li>

            <li></li>

            <li></li>

        </ul>

    </li>

    <li>

        <ul>

            <li></li>

            <li></li>

            <li></li>

            <li></li>

        </ul>

    </li>

</ul>

Then switch to Design View & edit as needed.

Nancy

Translate
Nancy O'Shea— Product User & Community Expert
acurcioneAuthor
Inspiring
Jul 19, 2017 4:35 PM UTC

Emmet code? Never heard of it. Guess I'll need to look that up.

However as stated, I'm able to create the lists in code view, but almost every time I do this if I then edit it in Design view, DW is stripping the nested list out and just adding the elements to the parent - so no more nested list. It shouldn't be doing that.

Translate
Nancy OShea
Community Expert
Community Expert
Jul 19, 2017 4:41 PM UTC

That's not my experience in Design View.  Live view is another matter.  I rarely use it except to check my layout once in a while.

For editing I typically use Split with Code & Design.   Also check your error indicator to ensure you have a green checkmark at all times.  A red X denotes code errors which can cause DW to do strange things.

For more on Emmet shortcuts in DW CC:

Faster Coding with Emmet in Dreamweaver CC | Creative Cloud blog by Adobe

Nancy

Translate
Nancy O'Shea— Product User & Community Expert