Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

22 Setting up CSS for HTML > 22.8 Customizing CSS properties > 22.8.5 Adjusting leading (line spacing) in CSS


22.8.5 Adjusting leading (line spacing) in CSS

By default, Mif2Go includes line leading (spacing) information in the CSS file. In some cases, this is not desirable; for example, it messes up printing in Netscape 4.x. You can turn off line leading:

[HTMLOptions]

; UseCSSLeading = Yes (default) or No (omit linespacing in CSS files)

UseCSSLeading=No

You might have to make some changes to your FrameMaker paragraph formats to get CSS to yield good results, especially if you are trying to get those CSS results out of Netscape. For example, Netscape does a poor job with margin bottom, which is equivalent to FrameMaker Space Below, but renders margin top, equivalent to Space Above, reasonably well. So you might need to add Space Above to your formats to match the Space Below of the formats they follow, in order to get any inter-paragraph space at all. This might not be as bad as it sounds; if you use consistent spacing between elements, the change might not affect the appearance of your FrameMaker document.



22 Setting up CSS for HTML > 22.8 Customizing CSS properties > 22.8.5 Adjusting leading (line spacing) in CSS