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

Robohelp 8 & CSS Class attribute

Guest
Apr 24, 2012 Apr 24, 2012

Copy link to clipboard

Copied

I have been trying to use the CSS Class attributes but it doesn't seemed to be recognized by Robohelp 8. Here is an example of my code:

My external style sheet:

Test {

          width: 562px;

          height: 16px;

          text-align: center;

          font-family: Arial, Helvetica, sans-serif;

          font-weight: bold;

          color: #ffff00;

}

Test1 {

          background-color: #00900;

}

Test2 {

          background-color: #008000;

}

In my file:

<link rel="Stylesheet" href="layout.css" type="text/css" />

<div class="Test Test1">

     I type something here

</div>

The text that I type is rendered but none of the formatting.  What am I doing wrong?

Does anyone know if there is a problem with Robohelp 8 not supporting CSS classes?

Thanks!

Message was edited by: Lakooli

Views

383

Translate

Translate

Report

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

correct answers 1 Correct answer

LEGEND , Apr 25, 2012 Apr 25, 2012

Hi,

Add a dot (.) before the class definitions in your css:

.Test -> All elements that have the class test

Or even better:

div.Test -> Only DIV element that have the class test

Greet,

Willam

Votes

Translate

Translate
LEGEND ,
Apr 25, 2012 Apr 25, 2012

Copy link to clipboard

Copied

Hi,

Add a dot (.) before the class definitions in your css:

.Test -> All elements that have the class test

Or even better:

div.Test -> Only DIV element that have the class test

Greet,

Willam

Votes

Translate

Translate

Report

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
Guest
Apr 25, 2012 Apr 25, 2012

Copy link to clipboard

Copied

LATEST

Thanks William!

Worked like a charm!

Lori

Votes

Translate

Translate

Report

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