Copy link to clipboard
Copied
I've just started exploring the RH 2022 Trial version and already have a conundrum: while trying to set up the .css, I was confronted with text boxes Class and psuedo class.
What are these and how do I label them?
While I'm at it, any general advice would be appreciated; 2022 seems a quantum leap in difference from 2017.
thank you,
Lon
Copy link to clipboard
Copied
I'd use Peter's site as a guide - grainge.org
Copy link to clipboard
Copied
Click the link to the RoboHelp Tour.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Hi, Pete!
I've just been to your site looking all over for any explanation of class and pseudo class as they relate to RH 2022, but to no avail. I'm still in the dark, and RH2022 is not exactly obvious. I was trying to create a new style in css, but am coming up quite short.
Copy link to clipboard
Copied
Google gives me this. Pseudo-classes - CSS: Cascading Style Sheets | MDN (mozilla.org)
Also try CSS Pseudo-classes (w3schools.com)
A class is something like p.red where you have set font to have red text or some other characteristics.
These can all be set up in the CSS editor.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
To add to Peter's explanation, in RH2017 you choose whether you're creating a character style, paragraph style, list style etc This equates to the p, h1, a, ol, etc tags you can pick in RH2022. The Class is equivalent to the style name you give the style in RH2017.
The pseudo class says to apply styling to the tag/class only in specific pre-defined circumstances. You pick the circumstance in this field. The most common use historically is for links, to set a different colour for visited links, or change the colour or underline when you hover the mouse over a link, for example. In HTML5/CSS3 more pseudo classes available and they apply to more tags than just the "a" tag.
The W3Schools link Peter provided is part of a larger tutorial all about CSS. It looks daunting but the pages are actually quite easy to understand and there are "Try it" links so you can have a play to better understand the functionality. I recommend referencing it whenever you find something CSS related you don't understand. Then use the MDN link for more detailed information and technical explanations once you're comfortable with the basics (or if what you're looking for isn't covered by the W3Schools site.