An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
Trouble with list tag
#7500 01/13/10 02:35 AM
Joined: Aug 2009
cyn Online OP
Administrator
OP Online
Administrator

Joined: Aug 2009
I'm having a problem getting lists to display the way I want, so am posting here to see if someone (Hal?) can either spot where I'm going wrong or confirm that manipulating the list tag only works up to a point. Here's the story:

  1. This is the first item in a numbered list.

    I can use returns to get an empty line between paragraphs/sentences within an item.

    As shown with item 2 immediately below, however, returns alone won't produce a blank line between items.
  2. This is the second item. One might think entering returns between items would work the usual way, as it does within an item. Instead, the software strips out the ones between items when you submit the post, so no white space shows up between items 1 and 2 here...and the list gets harder to follow, to my eye anyway.

    (Returns still work fine within an item though.)

  3. Using returns and a tagged space before this third item, I can force a blank line to appear between items 2 and 3 to improve readability. (*See "tagged space" note at end of post.)

  4. This is the fourth item, with a forced blank line between it and item 3.
    1. So, it takes a bit of extra effort but it's possible to put some spacing between items to produce a list that's easier to read.
    2. But...if I do that and also include a list within a list like I am here in item 4, things go haywire. Look what happens when I now try to continue with spacing between items in the main list:


  5. When I use the returns-and-tagged-space trick again to try to have an empty line between items 4 and 5, that blank line is stripped out. Worse, the content I've entered for item 5 doesn't show up there but instead appears as item 6...despite the fact that I haven't even entered a sixth.

    At least there's a blank line between 5 and 6. tongue


Weird, eh? I keep thinking I must be making a mistake but I've tried with several different lists and I get the same results every time. Am I in fact missing some detail, or is the list tag just funky?


* For those who don't know, "tagged space" here means simply a space surrounded by some tags. I used Hal's "[i] [/i]" in my list above but have tried other combinations as well as dk's "[color:white]space[/color]" with no better luck.

It takes some tag manipulation to make [i] [/i] and [color:white]space[/color] show up so you can see what I'm talking about. When I tried to note the visible version of the italicized space in the list itself things got even more whacked, so I put the explanation down here rather than add another layer of complication up there.


FineTunedMac Forums Admin
Re: Trouble with list tag
cyn #7504 01/13/10 07:53 AM
Joined: Sep 2009
Offline

Joined: Sep 2009
I encountered the same problem you describe. I'll see if i can get it working... but i think i just cheated (and removed the strange parts) when i had trouble.

Let's see...

  1. This is the first item in a numbered list.

    I can use returns to get an empty line between paragraphs/sentences within an item.

    As shown with item 2 immediately below, however, returns alone won't produce a blank line between items.
  2. This is the second item. One might think entering returns between items would work the usual way, as it does within an item. Instead, the software strips out the ones between items when you submit the post, so no white space shows up between items 1 and 2 here...and the list gets harder to follow, to my eye anyway.

    (Returns still work fine within an item though.)

  3. Using returns and a tagged space before this third item, I can force a blank line to appear between items 2 and 3 to improve readability. (*See "tagged space" note at end of post.)

  4. This is the fourth item, with a forced blank line between it and item 3.
    1. So, it takes a bit of extra effort but it's possible to put some spacing between items to produce a list that's easier to read.
    2. But...if I do that and also include a list within a list like I am here in item 4, things go haywire. Look what happens when I now try to continue with spacing between items in the main list:

  5. When I use the returns-and-tagged-space trick again to try to have an empty line between items 4 and 5, that blank line is stripped out. Worse, the content I've entered for item 5 doesn't show up there but instead appears as item 6...despite the fact that I haven't even entered a sixth.

    At least there's a blank line between 5 and 6. tongue


Okay, looks like the way to cheat is by adding the extra tagged space within the sublist, *after* item b) before its closing [/list] tag --- not in the main list (before item 5):
  1. one
  2. two
  3. three
  4. four
    1. subitem 1
    2. subitem 2

      [i] [/i] <--tags are here, within the sublist [/list]
  5. five

Last edited by Hal Itosis; 01/13/10 08:18 AM. Reason: recounted :-)
Re: Trouble with list tag
Hal Itosis #7516 01/13/10 11:54 PM
Joined: Aug 2009
cyn Online OP
Administrator
OP Online
Administrator

Joined: Aug 2009
  1. Fer cryin' out loud...
    • I tried so many different ways to make it work.
    • But that one never occurred to me. blush

  2. And it's so simple.
    • Same trick, just different position.

  3. Thanks, Hal! grin


FineTunedMac Forums Admin
Re: Trouble with list tag
cyn #7522 01/14/10 03:51 AM
Joined: Sep 2009
Offline

Joined: Sep 2009
There are other, less-forgiving UBB boards where the "space" trick doesn't work. I think macosxhints is one of them [VBB by Jelsoft]. Somehow they must parse posts differently, in an effort to remove all extraneous "spaces". In those situations, we must use an actual (non-space) character. The non-breaking space (entered on a keyboard via option-space) does work there (inasmuch as it expands the list), but for some strange reason they choose to display non-breaking spaces as a visible square: []

In such extreme cases, i use a period... and try to hide it with white color tags: [color:white].[/color]

Re: Trouble with list tag
Hal Itosis #8330 02/11/10 09:36 AM
Joined: Aug 2009
Likes: 15
Online

Joined: Aug 2009
Likes: 15
I discovered a previously unmentioned aspect of lists tags...

I had written a paragraph in prose and decided that it really need to be in list form, and rather than break the paragraph up into its components and then insert the list tags I inserted the tags into the body of the paragraph, and lo and behold, the paragraph broke itself up into a list, complete with default line spacing.

Hot damn! smile


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Moderated by  alternaut, cyn, dkmarsh 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.020s Queries: 24 (0.014s) Memory: 0.5956 MB (Peak: 0.6692 MB) Data Comp: Zlib Server Time: 2024-04-16 19:11:43 UTC
Valid HTML 5 and Valid CSS