This content has been marked as final. Show 4 replies
Regarding the spurious style sheets from the imported word documents, you are spot on on how to get rid of them. Applying another style sheet should reapply the styles accordingly.
As far as the older project and the styles not sticking, I wonder whether the <link rel="StyleSheet" href="..\stylesheet.css"> tag in the truecode is referencing the correct style sheet.
I checked the HTML and it's pointing to the right style-sheet.
Note that Styles and Style sheets have an order of precedence or hierarchy.
You may have all the styles declared in an externally referenced style sheet and all is well and good. But if the document has embedded styles using the same names, those will take preference.
For example, perhaps your CSS file says all Heading 1 text will render in Dark Blue at 24 point Arial font. The topic could have an embedded Heading 1 declaration that specifies the text should be Maroon at 12 point Verdana. Even though the topic is correctly referencing the external CSS file, the text will render in Maroon because the embedded style rule will override the CSS rule.
And what will override all of it is if someone selected the text and applied styling directly. In that case you are dealing with an In-Line style.
One way to help determine if you are dealing with an embedded style is to simply remove any link to the CSS file? Does the text still look the same? If so, you likely are dealing with an embedded or in-line style.
To check for an embedded style, look at your HTML code for the topic. Look up in the Head area for a <style> tag.
If you find it, you have likely found the issue. Delete everything from <style> to </style> (including the tags).
That appears to have been the case (embedded styles in the HTML). I deleted the style tags and the correct formatting appears to work now.