Skip to main content
August 2, 2012
Question

Separate CSS for IE and Firefox

  • August 2, 2012
  • 1 reply
  • 1154 views

Hi all,

older versions of Robohelp generated to separate CSS files in the Wephelp for IE and Firefox. Evidently this feature was dropped somewhen. However I need it now to resolve some specific Firefox problems in a project.

I thought I could add the corrsponding script in the master page that checks for the browser and selects the CSS, but thought I should ask the forum first.. are any solutions for this already known?

Robert

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
August 2, 2012

I think it was RoboHelp 7 where things changed, may even be 6, but since then one CSS should work in all browsers.

Maybe the better starting point is what are the issues between the two browsers that are affecting your output.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
August 2, 2012

Hi Peter,

yes Firefox is 99% compatible but smal issues remain. I would prefer to

overwork the CSS style too, but regrattably it is not possible in this

case.

Robert

Peter Grainge
Community Expert
Community Expert
August 2, 2012

If you are sure there is no way around OK but sometimes someone knows a solution. I'm not saying I do, just that sometimes someone will pop their head over the parapet with the answer.

It used to be the case that bullets were a pain for me until I found out that Firefox's own CSS had an indent that you could negate without affecting IE. Result, almost the same appearance in both browsers.

I haven't tried it but RoboHelp 10 allows you to write media queries and you can define the browswer. In theory you can have a default style for IE and other browsers but specify a rule that if the browser is Mozilla, the CSS is to be modified.

That's the cheery theory and I don't know the ins and outs of how well it would work in reality. Do let us know if you decide to take the plunge.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.