Go to the main content for this page
How can I create multi-indent lists?

The NHS Core Site editor has a simple tool bar button that turns a line of text into a bulleted list item. But what do you do if you need nested indentations, like this:

  • This is a bulletted list item
    • this is a sub-indent
    • and so is this
  • While this is back to the starting indentation

To get the extra indentations you need to go into html mode. The code looks like this:

<UL type=disc>
<LI>This is a bulletted list item</LI>
<UL type=square>
<LI>this is a sub-indent</LI>
<LI>and so is this</LI></UL>
<LI>While this is back to the starting indentation</LI></UL>

The editor creates the first <UL> tag, which tells the web browser to use a bullet format (Unordered List) and the closing tag </UL> at the end. You need to add the second <UL> tag to get the additional indent, and close it again when it's fininished with.

You may also notice that  we have used the type="square" option to change the type of bullet. Strictly speaking this should be done using a style sheet entry.

 

Change Text Size Reset Text Size Change Contrast
Ioko logo  Copyright © Carelink, All rights reserved