Fiona wrote:What I'm finding in Flare is that I can apply the italic style to one of the bold words but it loses its bolding...I need it to retain that.
Definitely sounds like something is weird. In the case of a class, italics (or, style) and bold (or, weight) aren't even applied using the same property. For example, if you wanted a span that made text both italic and bold, you'd do something like:
Code: Select all
span.embold {
font-weight: bold;
font-style: italic;
}
So, this:
Code: Select all
<p>This is my <span class="embold">bold, emphasized</span> text.</p>
Would look like: This is my
bold, emphasized text.
That said, you shouldn't need to implicitly set both unless somewhere you defined that a span can't be one or the other. For example:
Code: Select all
.em {
font-style: italic;
}
.bold {
font-weight: bold;
}
Examples:
<p class="em">This is all italics, and this part is <span class="bold">bold</span> text.</p>
<p><span class="em">This is all italics, and this part is <span class="bold">bold</span> text.</span></p>
<p><i>This is all italics, and this part is <span class="bold">bold</span> text.</i></p>
<p><i>This is all italics, and this part is <b>bold</b> text.</i></p>
<p><em>This is all italics, and this part is <b>bold</b> text.</em></p>
<p style="font-style:italic;">This is all italics, and this part is <span style="font-weight:bold;">bold</span> text.</p>
All those examples above would result in the same line of text:
This is all italics, and this part is bold text.
Demo:
https://jsfiddle.net/MattyQ/s2rnkwt9/
Sounds like either a bug, or somewhere in your stylesheet you've declared a property value that's overriding your attempt to bold/emphasize particular words.