Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Styles for images

New Here ,
Dec 05, 2008 Dec 05, 2008
I've defined the borders and margins for images in my stylesheet, but when I import an image into a topic, RH automatically adds style="border: none; " etc to the img tag so the stylesheet values get ignored. Is there some way to prevent RH from doing this? I don't want to have to manually apply the same formatting to all my images.

Thanks!

Lori
342
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 05, 2008 Dec 05, 2008
Hi Lori.

There is no way to automatically add image borders/margins other than setting them each time in the dialog when you add one. However there are a couple of options.

Firstly you could use a tool such as Macro Express to create a keyboard shortcut to assign the required style on the image. Another option is to not use a style at all but to use a find and replace tool towards the end of your project to replace the required style tag. A bit more risky but perfectly doable.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 05, 2008 Dec 05, 2008
LATEST
Hi Colum,

Thanks for the suggestions. I'll look into the best way to work around this problem.

Lori
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp