Hello,
I'm still new to Hype, and I pretty sure I'm missing something obvious.
I want to style some words within a text block, and it works fine if I use a style in the innerHTML of the text itself. However, I'll be using the style frequently, so want to put it in the HeadHTML. For some reason I can't get that to work.
test css.zip (25.9 KB)
The innerHTML of the text with style looks like this:
Here is some text with <span style="color: #0433ff; border-bottom: 1px dotted #ff0000;">underline</span> using style.
This displays the way I want.
The HeadHTML has this:
<style>
.tooltip-txt {
border-bottom: 1px dotted #FF0000;
color: #0433ff;
}
</style>
The innerHTML of the text with class looks like this:
Here is some text with <span class="tooltip-txt">underline</span> using class.
This works OK when I put the same code into a raw HTML file, but does not work from within Hype.
Any help would be appreciated. I'm all ready to kick myself ...
Bill H