• Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 1.1
    • None
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      The notation guide shows how to set alignment of attached images as follows:

      However, how do I set center alignment? I tried using align=center and even tried putting <center></center> but with no joy.

      If there is a way to center images horizontally, could the syntax be added to the notation guide as it is a very common requirement in our software documentation.

      If there is no process to do this yet, could one be added

            [CONFSERVER-1218] Center/middle alignment on images - how?

            Guy Fraser added a comment -

            That works like a charm and I've just found that HTML can be put in by placing it in

            {html}

            macro tags.

            Guy Fraser added a comment - That works like a charm and I've just found that HTML can be put in by placing it in {html} macro tags.

            The problem is that in HTML, there's no attribute you can assign to an image to center it - you have to create a surrounding container.

            You can use CSS to centre the image in Mozilla and Safari, but not IE:

            Shouldn't be too hard to fix, though: intercept any attempt at "align=center" in the filter, and make it surround the image with a centered div...

            Charles Miller (Inactive) added a comment - The problem is that in HTML, there's no attribute you can assign to an image to center it - you have to create a surrounding container. You can use CSS to centre the image in Mozilla and Safari, but not IE: Shouldn't be too hard to fix, though: intercept any attempt at "align=center" in the filter, and make it surround the image with a centered div...

            Guy Fraser added a comment -

            <div align="center"> does not seem to work either

            Guy Fraser added a comment - <div align="center"> does not seem to work either

              Unassigned Unassigned
              e4f737705482 Guy Fraser
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: