• Nested lists in grid pattern

    From Andrew Poulos@21:1/5 to All on Wed Aug 12 13:11:08 2020
    I have an ordered list with this css:

    list-style-position: inside;
    padding-left: inherit;

    that also contains nested ordered lists.


    <li>a</li>
    <li>b</li>
    <li>
    <ol>
    <li>
    <ol>
    <li>i</li>
    <li>ii</li>
    </ol>
    </li>
    <li>d</li>
    <li>e</li>
    <ol>
    <li>iii</li>
    <li>iv</li>
    <li>v</li>
    <li>vi</li>
    </ol>
    </li>
    </ol>
    </li>
    <li>f</li>
    </ol>

    Each list item (that doesn't contain an OL) looks like this:


    <img src="test.jpg">
    <p style="margin: 0px; text-align: center;">Desc</p>
    </li>

    and has this (simplified) CSS that puts a number at the top:

    li::before {
    counter-increment: slide;
    content: counter(slide);
    }

    The list items typically display as a series running down the page. I
    now need a way to display the items horizontally with the nested list
    items running vertically eg.

    a---b---i---d---e---iii---f
    --------ii----------iv-----
    --------------------v------
    --------------------vi-----

    The list can scroll horizontally and vertically as necessary.

    I thought I could simply set the display of each OL to flex but the last
    item 'f' ends up next to 'b' instead of after "iii - vi".

    How can I solve this?

    Andrew Poulos

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From James Kirk@21:1/5 to Andrew Poulos on Wed Aug 12 19:43:29 2020
    In Message: <yoadnQvSVtRTwK7CnZ2dnUU7-KvNnZ2d@westnet.com.au>
    Andrew Poulos <ap_prog@hotmail.com> wrote:

    I have an ordered list with this css:

    list-style-position: inside;
    padding-left: inherit;

    that also contains nested ordered lists.


    [snip]
    </ol>

    đĸ𝐧v𝐚đĨđĸ𝐝 𝐇𝐓𝐌𝐋 𝐟đĢ𝐚𝐠đĻ𝐞𝐧𝐭

    Each list item (that doesn't contain an OL) looks like this:

    [snip]

    The list items typically display as a series running down the page.
    I now need a way to display the items horizontally with the nested
    list items running vertically eg.

    a---b---i---d---e---iii---f
    --------ii----------iv-----
    --------------------v------
    --------------------vi-----

    [snip]

    Speculated example from description and text art.

    https://codepen.io/noneyainvalid/full/xxVZVdO

    https://codepen.io/noneyainvalid/pen/xxVZVdO.html https://codepen.io/noneyainvalid/pen/xxVZVdO.css

    --
    J𝕒𝕞𝕖𝕤 𝕂𝕚đ•Ŗ𝕜

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew Poulos@21:1/5 to James Kirk on Thu Aug 13 13:37:25 2020
    On 13/08/2020 9:43 am, James Kirk wrote:
    In Message: <yoadnQvSVtRTwK7CnZ2dnUU7-KvNnZ2d@westnet.com.au>
    Andrew Poulos <ap_prog@hotmail.com> wrote:

    I have an ordered list with this css:

    list-style-position: inside;
    padding-left: inherit;

    that also contains nested ordered lists.

    <ol>
    [snip]
    </ol>

    đĸ𝐧v𝐚đĨđĸ𝐝 𝐇𝐓𝐌𝐋 𝐟đĢ𝐚𝐠đĻ𝐞𝐧𝐭

    Oops, "<li>e</li>" should just be "<li>e"

    Each list item (that doesn't contain an OL) looks like this:

    [snip]

    The list items typically display as a series running down the page.
    I now need a way to display the items horizontally with the nested
    list items running vertically eg.

    a---b---i---d---e---iii---f
    --------ii----------iv-----
    --------------------v------
    --------------------vi-----

    [snip]

    Speculated example from description and text art.

    https://codepen.io/noneyainvalid/full/xxVZVdO

    https://codepen.io/noneyainvalid/pen/xxVZVdO.html https://codepen.io/noneyainvalid/pen/xxVZVdO.css

    Thanks, though the example I gave is not the actual list (meaning I
    can't use css like li:nth-child(3) ) it gives me something I can work with.

    Andrew Poulos

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to noneya.invalid+knobknocker@gmail.co on Thu Aug 13 04:23:34 2020
    In comp.infosystems.www.authoring.stylesheets,
    James Kirk <noneya.invalid+knobknocker@gmail.com> wrote:
    đĸ𝐧v𝐚đĨđĸ𝐝 𝐇𝐓𝐌𝐋 𝐟đĢ𝐚𝐠đĻ𝐞𝐧𝐭
    ^
    ASCII

    Any particular reason you posted MATHEMATICAL BOLD SMALL for most of
    "invalid HTML fragment" but missed the "v"? You do realize that for
    those of us reading in xterms, it shows up like "īŋŊīŋŊvīŋŊīŋŊīŋŊīŋŊ īŋŊīŋŊīŋŊīŋŊ īŋŊīŋŊīŋŊīŋŊīŋŊīŋŊīŋŊīŋŊ"
    instead of bolded, right?

    J𝕒𝕞𝕖𝕤 𝕂𝕚đ•Ŗ𝕜
    JīŋŊīŋŊīŋŊīŋŊ īŋŊīŋŊīŋŊīŋŊ

    Elijah
    ------
    should add a decoder to https://qaz.wtf/u/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)