This discussion is locked
Dale Gillard

Q: How do I create a numbered or bulleted list?

Neither the old 'asterisk' syntax or HTML tags like ul, ol and li tags can be used. Is there another syntax similar to the italic and bold commands?

iMac G5 2GHz, Mac OS X (10.4.3), iWork '05, AppleWorks 6.2.9, Sidekick for AppleWorks 6

Posted on Nov 15, 2005 1:33 AM

Close

Q: How do I create a numbered or bulleted list?

  • All replies
  • Helpful answers

  • by Tom Graves,Helpful

    Tom Graves Tom Graves Nov 15, 2005 1:38 AM in response to Dale Gillard
    Level 7 (20,615 points)
    Nov 15, 2005 1:38 AM in response to Dale Gillard
    • I believe

    • that you can

    • use <li></li> tags

    • to make a bulleted list.
  • by Dale Gillard,

    Dale Gillard Dale Gillard Nov 15, 2005 2:01 AM in response to Tom Graves
    Level 5 (4,365 points)
    Nov 15, 2005 2:01 AM in response to Tom Graves
    OK, you can use li tags. But not as you'd expect.

    You must only use the li tag, with or without a closing tag. You can't write valid HTML as you'd expect by enclosing the li tag in either a ul or ol tag. Doing causes the list to be rendered as plain text.

    In other words, it seems we're limited to bulleted lists. Or is there an undocumented way to do numbered lists?
  • by Tom Graves,

    Tom Graves Tom Graves Nov 15, 2005 2:10 AM in response to Dale Gillard
    Level 7 (20,615 points)
    Nov 15, 2005 2:10 AM in response to Dale Gillard
    I have not discovered a way to make numbered lists. You would have to number items manually. And, as you discovered, the old non-html formatting tricks don't work because those were part of the old software used for the forum and therefore they are not supported by the new software.
  • by Hui Cheng,Helpful

    Hui Cheng Hui Cheng Nov 15, 2005 5:51 AM in response to Dale Gillard
    Level 4 (2,805 points)
    Nov 15, 2005 5:51 AM in response to Dale Gillard
    Hi Dale,

    I think the raw HTML tags should work. As example:

    <ol><li>aaa</li><li>bbb</li><li>ccc</li></ol>

    produces the following:
    1. aaa
    2. bbb
    3. ccc
  • by Dale Gillard,

    Dale Gillard Dale Gillard Nov 15, 2005 6:33 AM in response to Hui Cheng
    Level 5 (4,365 points)
    Nov 15, 2005 6:33 AM in response to Hui Cheng
    This is weird. From the experimenting I've done just now, valid HTML for an ordered/numbered list works fine. But an unordered/bulleted list is rendered without the bullets!

    Originally I thought this was because the HTML for the unordered list was on multiple lines. I'm guessing the parsing engine behind the Forums isn't handling HTML tags too well.

    For example, here's an ordered list, followed by two unordered lists, of two items. The first unordered list is not rendered correctly and it is contained within ul tags across multiple lines. The second unordered list is just two items enclosed in li tags.


    1. first ordered item, HTML on multiple lines, with ol tags

    2. second ordered item, HTML on multiple lines, with ol tags




    • first unordered item, HTML on multiple lines, with ul tags

    • second unordered item, HTML on multiple lines, with ul tags



    • first unordered item, HTML on multiple lines, without ul tags

    • second unordered item, HTML on multiple lines, without ul tags
  • by Tom Graves,

    Tom Graves Tom Graves Nov 15, 2005 7:33 AM in response to Hui Cheng
    Level 7 (20,615 points)
    Nov 15, 2005 7:33 AM in response to Hui Cheng
    Thanx. I thought I had tried the numbered lists without success, but I was obviously wrong. I probably did something wrong when I set up the code when I was testing - who knows.
  • by Hui Cheng,Solvedanswer

    Hui Cheng Hui Cheng Nov 15, 2005 8:01 AM in response to Dale Gillard
    Level 4 (2,805 points)
    Nov 15, 2005 8:01 AM in response to Dale Gillard
    ...But an unordered/bulleted list is rendered without the bullets!
    I found the reason for the missing bullets, the style sheet (http://a772.g.akamai.net/7/772/51/20051114/discussions.apple.com/css/discussions .css) used by the forum set the default to be none, use one of the follow styles to set the bullet styles:

    <ul class="square"><li>xxx</li><li>yyy</li></ul>

    • xxx
    • yyy


    <ul class="circle"><li>aaa</li><li>bbb</li></ul>

    • aaa
    • bbb
  • by Samtherocker,

    Samtherocker Samtherocker Nov 15, 2005 8:31 AM in response to Tom Graves
    Level 4 (2,145 points)
    Nov 15, 2005 8:31 AM in response to Tom Graves
    I'm sorry if this is not entirely relevent to the topic of bullets. (Which I've found very useful as I also had trouble with bullets) But I've found other HTML problems.

    • The <code><hr></code> tag does not work it just produces the tag as if it were text.
    • Also, text shadows aren't working. I usually put this HTML code: <code><hr>
      Sam
      </code> at the bottom of my posts and it displays what you would expect, but no more. It looks like the shadow is just ignored


    Has anyone experienced this or any other errors in HTML rendering? Is this problem due to the stylesheets too?

    Thanks for any help

    -Sam

    [edit] and also, as you can see, the <code> tag does not work.
  • by Daniel Macks,

    Daniel Macks Daniel Macks Nov 15, 2005 8:53 AM in response to Hui Cheng
    Level 4 (2,285 points)
    Nov 15, 2005 8:53 AM in response to Hui Cheng
    Dictionary lists ("dl") are also being rendered as raw HTML tags:(

    <dl>
    <dt>term 1</dt><dd>Here is the definition</dd>
    <dt>term 2</dt><dd>Here is the definition</dd>
    <dt>term 3</dt><dd>Here is the definition</dd>
    </dl>
  • by Tom Graves,

    Tom Graves Tom Graves Nov 15, 2005 9:23 AM in response to Samtherocker
    Level 7 (20,615 points)
    Nov 15, 2005 9:23 AM in response to Samtherocker
    Yes, there is definitely a difference subset of html codes that work in the new forums than there was in the old and it is going to take a while and some experimentation to find out what is and what is not allowed. Also, if you use html special coding for characters for code snippets, it is converted to real coding if you preview or edit your message.

    Here is a reply I used in the old forum:

    You use some basic html coding. If you want to go to Apple's web site, type:

    <a href="http://www.apple.com/">Apple</a>

    What you will see when you post the message is Apple.

    <blockquote>Also, if you have the page you want to link to open in another window or tab, you can copy the url and paste it between the quotation marks. Fewer typos and bad links that way.</blockquote>

    Also, if you have the page you want to link to open in another window or tab, you can copy the url and paste it between the quotation marks. Fewer typos and bad links that way.


    For italics type <i>italics</i>

    For bold type <b>bold</b>

    To use colors, type the following:

    <font color="blue">blue</font> for blue
    <font color="green">green</font> for green

    Type <b><font color="red">bolded red</font></b> for bolded red

    If you dont want to worry about html coding, you can try level4 or Simone.