Span style not displaying
-
- Propeller Head
- Posts: 35
- Joined: Mon May 12, 2014 10:50 am
Span style not displaying
I have a class of span in my stylesheet that is supposed to tell the text to be a certain font size and weight. For some reason, though it shows up in HTML5 output, it doesn't in the WebHelp Mobile target. Any ideas on what is going wrong here?
Re: Span style not displaying
There's a chance that the span is only defined in either the Default or the Non-Print medium, and your outputs are using different mediums. Can you check to see if the span you defined shows up in the stylesheet in both of those mediums?
-
- Propeller Head
- Posts: 35
- Joined: Mon May 12, 2014 10:50 am
Re: Span style not displaying
Yes it appears on the stylesheet in both mediums.
-
- Propeller Head
- Posts: 35
- Joined: Mon May 12, 2014 10:50 am
Re: Span style not displaying
Actually strangely enough, it shows when I use show:Property Groups. However if I show:Set Properties it doesn't show. How does that make sense?
Re: Span style not displaying
It sounds like you've set the style properties for a particular medium; and your HTML5 target is set to use that medium, but your WebHelp Mobile target isn't using that medium. Check that the correct medium is being used on the target Advanced tab - i.e. it's the same in both targets.
It's quite common to accidentally add styles for a medium when you didn't intend to; I don't know if that's what's happened here.
The Set properties will only display the styles for the medium you've selected in the stylesheet editor; so if they're not appearing, you need to select the correct medium.TorontoFlare wrote:Actually strangely enough, it shows when I use show:Property Groups. However if I show:Set Properties it doesn't show. How does that make sense?
It's quite common to accidentally add styles for a medium when you didn't intend to; I don't know if that's what's happened here.