Answered
Heading style different than expected
When compiling my source documents to HTML help instead of
Winhelp 2000, my Heading 2 text is right justified instead of left
justified. In Winhelp 2000 help it is correctly left justified.
From the Single Source HTML parameters, in my "HTML HELP formatting - Microsoft HTML Help" window I selected "External style sheet based on existing style sheet". I picked a file name AfdAdmin.css. I thought this might be controlling the Heading 2 format so I examined its contents. For what I presume is the Heading 2 definition, I saw the following text:
H2 { margin-right:18.00pt; margin-top:6.00pt; margin-bottom:6.00pt; text-align:left; font-family:Arial; font-size:12pt; font-weight:bold; margin-top:12.00pt; margin-bottom:7.20pt; text-align:left; font-family:Verdana; font-size:15pt; color:black; font-weight:bold; margin-top:0.00pt; margin-bottom:6.00pt; text-align:right; font-family:Arial; font-size:12pt; }
To me it appears that there are three fonts associated with Heading 2. (Why would that be?) The third font in the list indicates "text-align:right". I presume that is the problem. I can manually change that and save the css file, but after a recompile, the css file is apparently regenerated and the "text-align:right" is there again.
How can I ensure that the Heading 2 is left justified in the HTML output?
Den DiMarco
From the Single Source HTML parameters, in my "HTML HELP formatting - Microsoft HTML Help" window I selected "External style sheet based on existing style sheet". I picked a file name AfdAdmin.css. I thought this might be controlling the Heading 2 format so I examined its contents. For what I presume is the Heading 2 definition, I saw the following text:
H2 { margin-right:18.00pt; margin-top:6.00pt; margin-bottom:6.00pt; text-align:left; font-family:Arial; font-size:12pt; font-weight:bold; margin-top:12.00pt; margin-bottom:7.20pt; text-align:left; font-family:Verdana; font-size:15pt; color:black; font-weight:bold; margin-top:0.00pt; margin-bottom:6.00pt; text-align:right; font-family:Arial; font-size:12pt; }
To me it appears that there are three fonts associated with Heading 2. (Why would that be?) The third font in the list indicates "text-align:right". I presume that is the problem. I can manually change that and save the css file, but after a recompile, the css file is apparently regenerated and the "text-align:right" is there again.
How can I ensure that the Heading 2 is left justified in the HTML output?
Den DiMarco
