• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

HTML Help Output Para still right-aligned despite css

Explorer ,
Nov 03, 2016 Nov 03, 2016

Copy link to clipboard

Copied

Hi, all.

My FM template for PDF output has a text column and side heads. My H1, H2, and H3 are right-aligned within the side head, so they look something like this:

                      HERE IS    Here is the text in the text column. blah blah b

THE GLORIOUS SIDE    blah blah blah blah blah blah blah blah blah

                    HEADING    blah blah blah blahblah blah blah blahblah

                                        blah blah blah blahblah blah blah blahblahblah

                                        blah blah blahblah blah blah blahblah

Like that. Let's say that the side heading has the H1 tag. It is right-aligned within the side heading.

I have attached a .css that has these attributes for H1:

p.H1 {

margin-left: 0.000pt;

margin-right: 0.000pt;

text-align: left;

text-indent: 0.000pt;

margin-top: 12.000pt;

margin-bottom: 4.000pt;

font-family: Arial;

font-style: normal;

font-weight: bold;

font-size: 18.0pt;

background-color: none;

letter-spacing: 0.00em;

color: #005ba8;

text-decoration: none;

It sure looks to me as if the H1 should be left-aligned in the .chm file. But it is not. It is right-aligned, as are the H2 and H3 styles.

What is overriding the css? Thanks very much.

Views

139

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 03, 2016 Nov 03, 2016

Copy link to clipboard

Copied

LATEST

Oh, by "I have attached," I mean that I attached it to FrameMaker in the HTML Help Settings options.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines