It looks like you're using an Ad Blocker.

Please white-list or disable AboveTopSecret.com in your ad-blocking tool.

Thank you.

 

Some features of ATS will be disabled while you continue to use an ad-blocker.

 

Reducing empty line breaks on BB Code LISTS

page: 1
0

log in

join
share:

posted on Apr, 9 2005 @ 11:54 AM
link   
Is there any way that the empty line breaks on the LIST BBCODEroutines can be reduced or eliminated?

Here's an example:

  • Item 1
  • Item 2
  • Item 3

End of Example.


See the empty space between "Here's an example" and "Item 1" and between "Item 3" and "End of Example"?

The whole thing was entered like this (replacing hard brackets with soft brackets to see the entry).

Here's an example:
(list)
(*)Item 1
(*)Item 2
(*)Item 3
(/list)
End of Example.


I realize this is nit-picking, but the gap itself makes it hard to provide a neat and concise list, especially in a multi-paragraph, multi-list post. If nothing can be done, I totally understand, but just in case someone has the time to fix this, it'd be cool.

Alternately, if there's another way of formatting this that I'm not aware of, I'm open to suggestion.




posted on Apr, 9 2005 @ 12:04 PM
link   
Click quote on my post to view the bbcode I used.


  1. Item 1
  2. Item 2
  3. Item 3


    1. Item 1
    2. Item 2
    3. Item 3





      [edit on 9-4-2005 by kinglizard]



posted on Apr, 9 2005 @ 12:05 PM
link   
You can reduce them to one break:

Example:
  • Item 1
  • Item 2
  • Item 3
End example

Using:

Example: (list)(*)Item 1
(*)Item 2
(*)Item 3
(/list)End example

[edit on 4/9/2005 by djohnsto77]

[edit on 4/9/2005 by djohnsto77]



posted on Apr, 9 2005 @ 02:55 PM
link   
Hmmm... I think I figured out how to do it, but it's really messy, codewise.

    Example
    • Item 1
    • Item 2
    • Item 3
    End Example



To accomplish this, you have to use a SUBLIST as your main LIST and go from there. As you can see, though, it's a bit of a mess.

(list)Example(list)(*)Item 1
(*)Item 2
(*)Item 3 (/list)End Example(/list)


It'd be easier if the BBCode were modified to remove the extra line break.
What I'm shooting for is a lack of line-breaks between Example and Item 1.



[edit on 4/9/2005 by thelibra]



posted on Apr, 9 2005 @ 03:11 PM
link   
Each line of code has built in a line break to allow for the room if you so desire. You can, of course, add more. The way around it, as you've discovered, is simply to NOT add more lines of your own, as you've done.

Better to have more mobility than less. I always make a point to end the quote tags here right after the words, and so on and so forth.



new topics

top topics
 
0

log in

join