Embedding your first website

To embed your first website, insert the iframe macro in a page where you want to show it.

Configuration

The configuration dialog allows you to set various options:

  • Width
    The width of the embedded page
    Allows you to set the width as a css value.
    Possible values are for example:

    • 100px
      100 pixels width

    • 50%
      50% of the available width

    • 80vw
      80% of the total browser windows width

  • Height
    The height of the embedded page
    Allows you to set the width as a css value.
    Possible values are for example:

    • 100px
      100 pixels height

    • 80vh
      80% of the total browser windows height

  • Margin
    The margin to keep clear around the embedded website as a css value.
    Possible values a.re for example:

    • 10px
      10 pixels margin

  • Border
    Indicates if a broder should be drawn around the page. (Useful if the embedded page has a white background)

  • URL
    The URL of the website to embedd.

You can only embedd websites which use the HTTPS protocoll, if Confluence is running with HTTPS too. Please have a look here for more information.

  • Override x-frame-options
    Use this if the website you want to embed doesn't load. This works only for public available websites and only in Firefox and Chrome. More information can be found here.

 

After finishing the configuration and saving the page, the result should look like this: