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

How can I insert a unicode character into a CSS style to replace a wingdings character?

Community Beginner ,
May 29, 2013 May 29, 2013

Hello, all,

I am generating the multiscreen HTML5 help and am working on a new layout. We have been testing the layout in Chrome, Internet Explorer and Firefox, and everything seems to work well with one exception. One of the paragraph styles is a list that uses a wingdings character for the bullet/icon (Folder Open). Since Firefox doesn't recognize wingdings, the character appears as a "1" instead of the folder. Is there a way I can modify the style to use a unicode character instead?

Here is what the style creation looks like in the RH10 CSS editor:

notes style in css editor.png

When you view the CSS code, the three circled lines on the left are added to the p.Notes style. In addition, the rt-list.rl-P-Note style is created, showing the formatting for the bullet/icon:

html code for notes style.pnghtml code for bullet.png

Also, if I look at an element using the p.Note style in the output, here is the generated code:

<p class="Note"><span style="font-family:'Wingdings'" >1</span> <span style='word-spacing:normal; font:6.0pt "Times New Roman"'>  </span>AKA Item of Change.</p>

The CSS style editor inside RoboHelp doesn't allow me to switch the font class when creating the style, so I'm hoping there's a way I can edit the code directly. I have the information for a unicode character I think will work, but can't figure out exactly where to place it. Any suggestions would be greatly appreciated.

Thanks in advance,

Alison

1.7K
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
Community Beginner ,
May 29, 2013 May 29, 2013

I should add that the CSS being used for the style is one we carried over with an RH9 project when we upgraded to RH10 (just in case it makes a difference).

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
Community Expert ,
Jun 02, 2013 Jun 02, 2013

See http://www.grainge.org/pages/authoring/lists/lists_multi_level.htm and scroll down to New list styles using the New button.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
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
Community Beginner ,
Jun 04, 2013 Jun 04, 2013
LATEST

Thanks, Peter - that's just what I was looking for.

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