Skip to main content
stentec514
Known Participant
August 23, 2014
Question

I use RH 11. I want all images bordered in the same way. I try to use CSS for that but it does not work. What do I do wrong?, I use RH 11. I want all images bordered in the same way. I try to use CSS for that but it does not work. What do I do wrong?

  • August 23, 2014
  • 2 replies
  • 596 views

I use RH 11. I want all images bordered in the same way. I try to use CSS for that but it does not work. What do I do wrong?,

Aart Korstjens

the Netherlands

This topic has been closed for replies.

2 replies

Willam van Weelden
Inspiring
August 26, 2014

The problem here is that RoboHelp adds inline styling to the image to remove all borders. To solve this, either remove the inline border from all images (lots of work if you do it manually) or override the border style in the CSS:

img { border: 1px solid blue !important}

This overrides the inline styling of the images and will force a border.

Kind regards,

Willam

Peter Grainge
Community Expert
Community Expert
August 26, 2014

Did you try creating an image style from the Styles and Formatting pod?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
stentec514
Known Participant
August 30, 2014

First I tried to use the Format/Styles/Image/Edit option. I added a new style an I can add borders there, but there are no border automaticaly added when I insert a new image in any topic.

Next using Dreamweaver I created a new CSS rule for the images. I used Dreamweaver because in RH11 I cannot add a CSS rule.

It looks like this:

}

Img {

Border: 3px solid #00C;

}

Both options gave no automatic borders for every image in the project.

Last but not least I added borders manually for every image again by using the Image properties.

Captiv8r
Legend
August 23, 2014

HI there

This was originally posted in the WinHelp forum. RoboHelp 11 doesn't "do" WinHelp as it's really old technology, so I moved the thread to the RoboHelp HTML forum.

It might help if you described exactly what you have tried here. I mean, other than saying "you tried to use CSS and it didn't seem to work". What exactly did you try using CSS? How exactly do you want the border to appear? Do you have an example we can see? If so, upload it as an image here in the forums (don't just reply by email and attach, visit the thread using your browser and upload that way). Or perhaps point us to a link where we can see what you want to accomplish.

Cheers... Rick

Peter Grainge
Community Expert
Community Expert
August 24, 2014

Congratuations to the poster for the longest title this year.

Being serious, I would like to ask people to keep the title minimal and worded to hit the nub of the problem. It helps people searching in the future.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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