Skip to main content
Known Participant
Feb 3, 2010 4:17 PM UTC
Question

Single-spaced lists without bullets or numbering?

Hi,

I'm using some DHTML dropdowns for instructions with twisties. The twistie is a little triangle that points down when the DHTML is expanded, like this:

These twisties in effect, sort of act like bullets. My problem is that I can't find a way to make these task lists indented and single spaced as a bulleted list can be. Some topics have pretty long task lists, so I'm trying to make them single spaced to save room and because it looks nicer.

Any ideas? Right now the code looks like this:

<p style="margin-left: 40px;"><a class="dropspot" href="javascript:TextPopup(this)"  id="a1">Add Accounts Manually</a> </p>
<div class="droptext" id="POPUP420454810" style="display: none;">
    <?rh-placeholder type="snippet" ref="Add Accounts Manually" ?>
</div>

The <a> tags have the actual text of the list item while the DHTML effect is in the div tags. In previous lists, I've removed the <p> tags to get rid of the double spacing. In this case though, I want the text indented, so removing <p> doesn't work for me.

I'm using RH8 to a WebHelp output.

Thanks!

    This topic is closed to new replies. Start a new post to keep the conversation going.

    6 replies

    KJoyMcKAuthor
    Known Participant
    Mar 4, 2010 2:13 PM UTC

    My solution is just to specify <ul type="none"> that gives me the single-spacing I'd see if the list were bulleted, but without the bullets. The simplest often works!

    Translate
    Willam van Weelden
    Inspiring
    Mar 4, 2010 2:59 PM UTC

    Haha, where would we be without pragmatism?

    Greet,

    Willam

    This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

    Translate
    Willam van Weelden
    Inspiring
    Feb 5, 2010 8:07 AM UTC

    What do you mean by 'single spaced'? If you want the text on the same line as your list, you may use expanding text.

    Greet,

    Willam

    This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

    Translate
    KJoyMcKAuthor
    Known Participant
    Feb 10, 2010 2:15 PM UTC

    Single spaced:

    • asdf
    • asdf
    • asdf

    Double spaced:

    • asdf

    • asdf

    Robohelp loves to double space things. If I use bullets, it'll single space them in most cases, or I can remove the <p> tags to force it. It seems that with expanding text, there's no way to single space because there's no list formatting. I've accepted defeat on this one, but certainly suggestions are welcome!

    Translate
    Willam van Weelden
    Inspiring
    Feb 10, 2010 2:57 PM UTC

    I see, how about this:

    For your indent, create a list style and remove the indent from the paragraph. I think that's a good idea whether you use paragraphs in lists or not. You'll have cleaner code.

    It seems to me that the paragraph you use has some margins set. When you use the same paragraph style in your topic, are your paragraphs double spaced there? If so, add UL P to your style sheet using an external editor. Now all paragraphs within lists don't have to fit perfectly in your list without creating extra white space.

    Greet,

    Willam

    This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

    Translate
    Inspiring
    Feb 3, 2010 6:08 PM UTC

    KJoyMcK,

    I use

    div.droptext {
        margin-left: 1.6em;
    }

    to indent under my twisties in my CSS file.

    Patrick

    Translate