I have a few situations where RoboHelp HTML 9 (220.127.116.11) is cluttering up my HTML by auto adding style statements to HTML tags that override the instructions from the CSS file. I am only irritated when it rewrites the following because the auto style is simply a duplicated instruction.
<strong> to <strong style="font-weight: bold;">
But when it add inline style statements to link tags it becomes unusable because it overrides my CSS instructions.
<a> to <a style="color: #0000ff; text-decoration: underline; ">
Am I causing this to happen somehow? Is there a setting in RoboHelp where I can turn off theserewrites?
RH sometimes does that and I don't know how to disable this behaviour. You can however override this inline styling in your style sheet by using the !important declaration:
font-weight: normal !important;
Now your css will override the inline styling.
I ashamed to say that I didn't know about the '!important' declaration for CSS. I applied !important to my links <a> and they all work now, even when RH tries to overwrite my CSS work.
Your solution has reduced my situation from unusable to merely irritating.