Skip to main content
Participant
Mar 29, 2019 4:22 PM UTC
Question

Robohelp is adding spacing to images in output.

I have an issue when I put two images on top of each other when I am editing a page. As you can see in the editor, the images are stacked together and there is no spacing between them:

But when I try to view the topic in a view or html response, RoboHelp puts a space in between the images:

Now it may seem strange why I am trying to do this and not just merge the images together into one image, but I may, for example, want to change the top or the bottom image individually.

So why is RoboHelp putting a space in between the images in the output?

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

    4 replies

    sthman990Author
    Participant
    Mar 29, 2019 5:56 PM UTC

    I figured it out. I had to change the margin-bottom to a negative number in the CSS file

    Translate
    Peter Grainge
    Community Expert
    Community Expert
    Mar 29, 2019 6:11 PM UTC

    That suggests a style was applied. Was that the case?

    Peter Grainge

    www.grainge.org

    @petergrainge

    Translate
    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    sthman990Author
    Participant
    Mar 29, 2019 4:43 PM UTC

    Also to add to this, Robohelp does not add a space to images if I put them side to side, only when they are stacked on each other.

    Translate
    Peter Grainge
    Community Expert
    Community Expert
    Mar 29, 2019 5:07 PM UTC

    If you click next to the images, look at the style dropdown. What does that show? Set it to None to see if that makes a difference.

    Also look in different browsers. It could be how the browser renders things rather than something in RoboHelp.


    See www.grainge.org for free RoboHelp and Authoring information.

    @petergrainge

    Translate
    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.