Skip to main content
Daniela Barros
Known Participant
August 3, 2021
Question

HTML5 - Inconsistency in the format

  • August 3, 2021
  • 4 replies
  • 1977 views

Hello Guys,

 

I have generated an HTML5 but the indentation, as well as the font of some paragraphs, are different from the rest of the document. Is there any particular reason for this inconsistency? In the FM document, everything looks the same...

 

Thanks

    4 replies

    Jeff_Coatsworth
    Community Expert
    August 26, 2021

    That looks like an Index page - you need to look at an actual topic example section.

    Known Participant
    June 23, 2025

    I am experiencing the same issue as the OP. Once you have the source code, where can you find the file (css??) to fix the formatting issue?

    Matt-Tech Comm Tools
    Community Expert
    June 23, 2025

    While you technically could edit the published content, you are likely to have more success in exporting the CSS from your publish settings, changing the CSS and then reimporting.

     

    -Matt SullivanFrameMaker Course Creator, Author, Trainer, Consultant
    Jeff_Coatsworth
    Community Expert
    August 19, 2021

    @Daniela Barros - that's not going to work for any of us because the files are on one of your network drives and not a webserver. Follow the direction Matt gave you to inspect the HTML.

    Daniela Barros
    Known Participant
    August 26, 2021

    Sorry for the late reply. 

    I have changed the text_ind in the code for (a) to align with the text and it worked for the first line but not for the second. I am wondering if it is possible somehow to do it automatically for all lists with letters to change the indentation as I would like to.

     

    Thank you so much for your help.

     

     

     

    -Daniela 

     

     

     

     

    Daniela Barros
    Known Participant
    August 26, 2021

     

    Matt-Tech Comm Tools
    Community Expert
    August 6, 2021

    Hi Daniela,

     

    Have you used the Style Mapping in the Publish panel settings? If not, Fm is trying to use your print formatting within the HTML, and often that's not going to be enough. Without mapping to their HTML styles, problems with indents, numbering are common.

     

    Can you post the HTML code that is being produced for the offending sections? That probably has some clues for us to work with.

     

    -Matt

    -Matt SullivanFrameMaker Course Creator, Author, Trainer, Consultant
    Daniela Barros
    Known Participant
    August 11, 2021

    Hi Matt,

     

    Thank you for your response. Please find below the picture.

     

     

     

    Matt-Tech Comm Tools
    Community Expert
    August 12, 2021

    Yep, it's using a style that is derived from your Fm paragraph style.

    For the best results you need to map Output Style to something specific (like Body Level 1) instead of [Use Source Style] and then in Autonumber, choose Convert to List.

    After that, you can adjust the CSS to get exactly what you want, provided you understand CSS. If not, use a service like Fivrr to make the changes to your CSS for you.

    -Matt SullivanFrameMaker Course Creator, Author, Trainer, Consultant
    Community Expert
    August 4, 2021

    Hi,

     

    Generally make sure that you have the latest FrameMaker update. For FM 2020 this is 16.0.2.916.

    Are you sure that these paragraphs do not have any character format? Check this in the FrameMaker files.

    What type of paragraph format is this? Heading, list, regular body text?

    Do you apply any new template when you convert to HTML5? There are options to apply an HTML template and another template for your FrameMaker file.

    What exactly is different in the HTML code?

     

    Best regards

     

    Winfried

    Daniela Barros
    Known Participant
    August 4, 2021

    Thank you, Winfried.

    I will check for new updates as well as for the character formats once more.

    I haven't applied any template when converting. I will try another template and see what happens.

     

     

    Thank you!

    Daniela