News:

Wondering if this will always be free?  See why free is better.

Main Menu

[list] with indented sub items

Started by shai, November 20, 2009, 02:44:41 AM

Previous topic - Next topic

Add "howto list inside a list" to the docs

Yes
No

shai

Hi,

How do I indent items in a list to create "sub-lists"?

1. Item1
2. Item2
  a. Itema
  b. Itemb
    *. Item*
3. Item3

Jerry

Something like this?

  • Item 1

    • Sub1
    • Sub 2

      • Sub-Sub1
      • Sub-Sub 2
  • Item 2
[list type=decimal]
[li]Item 1
[list]
[li]Sub1[/li]
[li]Sub 2
[list]
[li]Sub-Sub1[/li]
[li]Sub-Sub 2[/li]
[/list]
[/li]
[/list]
[/li]
[li]Item 2[/li]
[/list]


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

shai

Thanks for the prompt response. I tried looking for this in the docs... is this type of use of lists documented anywhere?

Jerry

Not really, there is a page on more advanced uses of the [ list ] with different types of bullets. Here However creating a list, inside of a list will give you a sub-list though :)


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

shai

#4
Hi,

Can I add [code] and [quote] tags inside lists too?

I tried and can't quite get it working...

Your help would be appreciated once again!

Jerry

as long as you use the full tag [quote]My Quote Here[/quote] it should work.

  • QuoteItem 1

    • QuoteSub1
    • QuoteSub 2

      • QuoteSub-Sub1
      • QuoteSub-Sub 2
  • QuoteItem 2


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

shai

#6
This is list with quote:

  • Quote$ hxxp:bash.sh [nonactive]

This is list with quote:

[list]
[li][quote]$ bash.sh[/quote][/li]
[/list]


This is list with code:

$ bash.sh
    [/li]

This is list with code:

[list]
[li][code]$ bash.sh
[/li]
[/list]
[/code]

What did I do wrong in this post (here is the post code hxxp:pastebin.com/m78f3977c [nonactive])?

Jerry

I'm told that quote fits in the list element but code cannot. Has something to do with keeping up with the html standards.


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

Advertisement: