Skip to content

Can one replicate website page-footer options in a standalone HTML doc? #8194

Answered by mcanouil
jack-davison asked this question in Q&A
Discussion options

You must be logged in to vote

What do you mean by JavaScript calculation?

Here you need to understand the structure of the page and where you are inserting the elements, then it's all about HTML/CSS which are better explained elsewhere.

---
title: "Untitled"
format: html
include-in-header:
  text: |
    <style type="text/css">
    .footer {
      position: fixed;
      left: 0;
      bottom: 0;
      width: 100%;
      text-align: center;
    }
    </style>
include-after-body:
  text: |
    <footer class="footer">Footnote content</footer>
---

## Quarto

Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see <https://quarto.org>.

Content.

A page with…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jack-davison
Comment options

@mcanouil
Comment options

Answer selected by jack-davison
@jack-davison
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html Issues with HTML and related web technology (html/css/scss) themes Related to HTML theming or any other style related issue (like highlight-style)
2 participants