Strategies for a Space Atop a Page with a Background

Let me just describe this first. With much help from Paul I was able to create a page with a piece of ancient poetry and in the background, an image (an ancient scroll; a piece of parchment).

What I want to do is carve out a space on top of where the page naturally begins to publish notes on the html, the theme of the page style etc. I don’t know if html already anticipated this and has particular codes that were made for this purpose or whether I should just create one from scratch. Here is what I just dove in to attempt on my own. See the style “notes”. I wanted generous margins for this — there isn’t going to be a huge amount of writing and it will take place on a very benign background of white or ivory.(#ffffee). There may need to be small images by way of explanation (see below, although it blew up in size it is actually small). Another thing is to be able to include links. Here is my brash attempt. Open to thoughts . . .

SCALLOPED TEXT small

<!DOCTYPE html>
<HTML LANG="en">
<HEAD>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Crete+Round:ital@0;1&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Calistoga&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Solway:wght@300;400;500;700;800&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Henny+Penny&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Special+Elite&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">

  <title>&lt;shape-outside: ellipse&gt; by semicodin &#7172; with Vast Assistance from  Paul O&rsquo;Brien of Sitepoint Forums</title>

  <style>
    body {
      width: 950px;
      margin: 0 auto;
      font-family: 'roboto slab', serif;
      font-size: 2rem;
      line-height: 2.13rem;
      font-weight: 600;
      color: black;
    }

#counter {
    margin-top: 2.5rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    max-width: 100%;
}
.notes {
      margin: 5rem;
      background-color: #ffffee;
      font-style: italic;
      text-align: left;
      color: black;
      font-family: 'crete round', serif;
      font-size: 2.25rem;
      line-height: 2.38rem;
      font-weight: bold;
    }
    td {
      padding-top: .4rem;
      padding-right: .4rem;
      padding-bottom: .4rem;
      padding-left: .7rem;
    }

    /* ━━━━━━━━━ PAUL’S TAB Courtesy PAUL O’BRIEN of Sitepoint ━━━━━━━━━ */
    :root {
      --tab1color: #ffe5fe;
      --tab2color: teal;
      --tab3color: #caffff;
      --border-color: #000;
      /* this one above is the filter color that makes the top border*/
      --bottom-border-color: #000;
      /* no need to change*/
    }

    .tablabel3 {
      position: relative;
      text-align: center;
      border-radius: 20px 20px 0px 0px;
      color: black;
      padding: 1rem 1rem 0;
      font-size: 2.25rem;
      line-height: 1.5;
      font-weight: bold;
      height: 67px;
      width: 250px;
      filter: drop-shadow(-3px 0px var(--border-color)) drop-shadow(3px 0px var(--border-color));
    }

    .tab {
      display: flex;
      max-width: 950px;
      margin: auto;
      overflow: hidden;
      position: relative;
      z-index: 1;
      filter: drop-shadow(0px -5px var(--border-color));
      border-bottom: 10px solid var(--bottom-border-color);
    }

    .tab:after,
    .tab:before {
      content: "";
      position: relative;
      z-index: 2;
      flex: 1;
      /*box-shadow: 0 34px var(--tab2color);*/
      box-shadow: 0 34px rgba(221, 198, 136, 0.8);
      /* Try and match a color from the image*/
      mix-blend-mode: lighten;
      /* merge the box shadow above with the background */
      /* this is necessary or a gap will show */
    }

    .tab:before {
      box-shadow: 0 34px rgb(0, 0, 0, 0.8)
    }

    .tab:after {
      border-radius: 0 0 0 80px;
      margin-left: -9px;
    }

    .tab:before {
      border-radius: 0 0 80px 0;
      margin-right: -9px;
    }

    .tablabel3:before {
      content: "";
      pointer-events: none;
      position: absolute;
      inset: 0 0 0 0;
      z-index: -1;
      background: var(--tab2color) url("https://assets.codepen.io/74047/PARCHMENT-A.jpg");
      background-position: -3px -8px;
      transform: perspective(100px) rotateX(36deg) translateY(5px);
      border-radius: 20px 20px 0 0;
    }

    .bkdimg {
      position: relative;
      background: none;
      overflow: hidden;
      margin-top: 1rem;
      margin-bottom: -2px;
      /* attempt to stop rounding errors when zoomed*/
    }

.ctr{
    pointer-events:none;
    }
.ctr a{
    pointer-events:initial;
    }

    .ctr {
      position: absolute;
      inset: 0 0 0 0;
    }

    .ctr2 {
      z-index: 3;
    }

    .ctrmid {
      z-index: 2;
    }

    .ctr3 {
      z-index: 1;
    }

    .ctr2 .tab:before {
      flex: 0 0 65px;
    }

    .ctr3 .tab:after {
      flex: 0 0 65px;
    }

    /*
    .ctr2 .tab span *,
    .ctr2 .tablabel3:before {
     background: var(--tab1color);
      color: #000;
    }

    .ctr2 .tab:before,
    .ctr2 .tab:after {
      box-shadow: 0 34px var(--tab1color);
    }

    .ctr3 .tab span *,
    .ctr3 .tablabel3:before {
      background: var(--tab3color);
      color: #000;
    }

    .ctr3 .tab:before,
    .ctr3 .tab:after {
      box-shadow: 0 34px var(--tab3color);
    }
*/
    .tab1active .ctr,
    .tab2active .ctr,
    .tab3active .ctr {
      position: absolute;
    }

    .tab1active .ctr2,
    .tab2active .ctrmid,
    .tab3active .ctr3 {
      position: relative;
      z-index: 4;
    }

    .tab3active .ctr2 {
      z-index: 1;
    }

    /* ━━━━━━ BACKGROUND & POEM-A ━━━━━━ */
    .indent {
      margin-left: 6.26rem
    }

    .tab a {
      transform: translateY(-8px);
      display: flex;
      text-align: center;
      justify-content: center;
    }

    .tab a:link {
      color: black;
      font-weight: bold;
    }

    .tab a:visited {
      color: black;
      font-weight: bold;
    }

    .redlink a:link {
      color: crimson;
      padding-top: 1rem;
      font-weight: bold;
    }

    .redlink a:visited {
      color: crimson;
      padding-top: 1rem;
      font-weight: bold;
    }

    .leada {
      color: black;
      margin-top: 3.13rem;
      text-align: center;
      font-family: 'crete round', serif;
      font-weight: bold;
      font-size: 3rem;
      line-height: 3.25rem;
    }

    .leadb {
      text-align: center;
      font-family: 'crete round', serif;
      font-weight: 400;
      font-size: 2.5rem;
      line-height: 3rem;
    }

    .leadc {
      text-align: center;
      font-style: normal;
      margin-bottom: 2.5rem;
      font-family: 'crete round', serif;
      font-weight: 400;
      font-size: 2rem;
      line-height: 2.5rem;
    }

    .poem-a {
      margin-top: 3.13rem;
      margin-left: 5%;
      margin-right: 5%;
      margin-bottom: 2.5rem;
      font-style: normal;
      text-align: left;
      color: black;
      font-family: 'crete round', serif;
      font-size: 2.25rem;
      line-height: 2.38rem;
      font-weight: bold;
    }

    .parch {
      background-image: url('https://lh3.googleusercontent.com/pw/AP1GczOwNR1n9BJD_duNlaAmcp9BoDYm5xk-k0tBWV70BcThwR3CVkHBHXOFuHk-pHqtEROpyLL8B8314huJJUfMvey2_8iqUPGZlvSt8NSlKERCbdBZbw=w890-h1080');
      background-size: 100% 100%;
      padding: 1rem;
      background-position: 0 -10px;
    }

    /* The following is taken directly from CSS Tricks.
I simply parked it here to make it easier for you to edit.  */
    * {
      box-sizing: border-box;
    }

    p.circle {
      clear: both;
      margin: 0;
      padding: 1rem 0;
    }

    .circle:before {
      content: "";
      float: left;
      shape-outside: ellipse(50% 36% at left);
      width: 111px;
      height: 385px;
      margin-top: -3rem;
    }

    .circle2:before {
      content: "";
      height: 485px;
    }
.foot {
      color: #ffffee;   ?/* ivory */
      margin-top: 1rem;
      text-align: left;
      font-style: normal;
      margin-bottom: 3.13rem;
      font-family: 'crete round', serif;
      font-weight: bold;
      font-size: 2rem;
      line-height: 2.13rem;
    }

    /* ━━━━━━━━━ END CSS ━━━━━━━━━━ */
  </style>
</head>

<body>

<div style="notes">
The &lt;shape-outside: ellipse&gt; is a CSS property that allows you to structure text flow around a user-defined shape. This one happens to be an ellipse. I won’t go into a lot of technical detail about &lt;shape-outside: ellipse&gt; &mdash; there are numerous sites you can go to to learn the technique &mdash; what I wanted to say is this: You have to bravely go into this with a great deal of patience because this is one of those times where you will be <i>fiddling around</i> with the numbers to get the shape(s) you want. 
</div>


  <div class="bkdimg tab1active"
    <div class="ctr ctr2">
      <div class="tab"><span class="tablabel3"><a href="https://en.m.wikipedia.org/wiki/Thomas_Merton">T. Merton</a></span></div>
    </div>
    <div class="ctr ctrmid">
      <div class="tab"><span class="tablabel3"><a href="https://en.m.wikipedia.org/wiki/Zhuang_Zhou">Chuang Tzu</a></span></div>
    </div>
    <div class="ctr ctr3">
      <div class="tab"><span class="tablabel3"><a href="https://en.m.wikipedia.org/wiki/Zhuangzi_(book)">&ldquo;Zhuangzi&rdquo;</a></span></div>
    </div>
  </div>

  <div class="parch">

    <div class="poem-a">

      <div class="leada">
        &ldquo;The Empty Boat&rdquo;
      </div>
      <div class="leadb">
        From <i>&ldquo;The Way of Chuang Tzu&rdquo;</i>
      </div>
      <div class="leadc">
        Translated by Thomas Merton, Trappist Monk<br>
        1915-1968
      </div>

      <div class="twrap1">
        <p class="circle">
          He who rules men lives in confusion;<br>
          He who is ruled by men lives in sorrow.<br>
          Yao therefore desired<br>
          Neither to influence others<br>
          Nor to be influenced by them.<br>
          The way to get clear of confusion<br>
          And free of sorrow<br>
          Is to live with Tao<br>
          In the land of the great Void.<br>
        </p>
        <p class="circle circle2">
          If a man is crossing a river<br>
          And an empty boat collides with his own skiff,<br>
          Even though he be a bad-tempered man<br>
          He will not become very angry.<br>
          But if he sees a man in the boat,<br>
          He will shout at him to steer clear.<br>
          If the shout is not heard, he will shout again,<br>
          And yet again, and begin cursing.<br>
          And all because there is somebody in the boat.<br>
          Yet if the boat were empty,<br>
          He would not be shouting, and not angry.<br>
        </p>
      </div>

      <div class="indent">
        If you can empty your own boat<br>
        Crossing the river of the world,<br>
        No one will oppose you,<br>
        No one will seek to harm you.<br>
      </div>
      <br>
      The straight tree is the first to be cut down,<br>
      The spring of clear water is the first to be drained dry.<br>
      If you wish to improve your wisdom<br>
      And shame the ignorant,<br>
      To cultivate your character<br>
      And outshine others;<br>
      A light will shine around you<br>
      As if you had swallowed the sun and the moon:<br>
      You will not avoid calamity.<br>
      <br>
      A wise man has said:<br>
      <div class="indent">
        &ldquo;He who is content with himself<br>
        Has done a worthless work.<br>
        Achievement is the beginning of failure.<br>
        Fame is the beginning of disgrace.&rdquo;
      </div>
      <br>
      Who can free himself from achievement<br>
      And from fame, descend and be lost<br>
      Amid the masses of men?<br>
      He will flow like Tao, unseen,<br>
      He will go about like Life itself<br>
      With no name and no home.<br>
      Simple is he, without distinction.<br>
      To all appearances he is a fool.<br>
      His steps leave no trace. He has no power.<br>
      He achieves nothing, has no reputation.<br>
      Since he judges no one<br>
      No one judges him.<br>
      <br>
      <div class="indent">Such is the perfect man:<br>
        His boat is empty.
      </div>
      <br>
      <br>
      <div class="foot">
      [xx. 2.]<br>
      [xx. 2, 4.]<br>
      114<br>
      115
      </div>
    </div> <!--  Closing POEM-A  -->
  </div> <!--  Closing PARCH  -->

Put an <aside> element at the top of your page with white or ivory background.

1 Like

Why thank you Archibald. I just realized I uploaded the wrong one. Let me upload the one with the start of my notes and you can see the trouble I got into . . .

You see, it has to be bulletproof to take those tabs (or anything else in the page). I’m thinking some kind of absolutish something that says “Steer clear and don’t launch your page quite just yet!” i also want the downloader to be able to cleanly discern in the HTML where my notes start and end so they can remove them.

This tag is needs closing >:

<div class="bkdimg tab1active"

1 Like

Where please? They’re stacked up pretty tight . . .

In the HTML just after the notes you have inserted.(line 346)

I got it lol. :tongue: I thought you wanted the div closed. Yes that works. Do you have thoughts as to why none of my margins show?

1 Like

<div style="notes">
should be:
<div class="notes">

2 Likes

It looks great Archibald! I’m pleased. And I’ll be able to add the odd image here and there without any grief?

Archibald could I put a separate background image on my <aside> tag? I went ahead and renamed the other tag to <bkdimg2> to allow for a <bkdimg1> for the one on my notes. Will this work — having 2 background images on one page?

They are not valid HTML tags.

The HTML for your aside could be something like:

<aside class="notes">
<p>Some text</p>
<p>some more text</p>
</aside>

Then to have a background image for your aside, the CSS could be something like:

.notes {
  background-image: url('.............');
}

You will probably also want to use background-size CSS property.

You can have any number of background images on one page.

1 Like

I’ve got my note to work but I’m having issues with its background:

  1. The text of .notes cannot be pulled lower to clear the frame or the entire frame moves with it. I’m missing something here and I wish I could figure it out because I want to be able to update the file with the link to the best primer on <shape-outside> I’ve seen yet from Google Developer.

  2. the bottom of the frame is inexplicably cut off. Again I don’t know how to fix this.

Any help much appreciated. :biggrin:

<!DOCTYPE html>
<HTML LANG="en">
<HEAD>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Crete+Round:ital@0;1&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Calistoga&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Solway:wght@300;400;500;700;800&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Henny+Penny&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Special+Elite&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">

<title>The Martyrdom of Thomas Merton by semicodin &#7172; with Huge Assistance from  Paul O&rsquo;Brien of Sitepoint Forums</title>

  <style>
    body {
      width: 1080px;
      margin: 0;
      font-family: 'roboto slab', serif;
      font-size: 2rem;
      line-height: 2.13rem;
      font-weight: 600;
      color: black;
    }
p {
    line-height: 1
}

#counter {
    margin-top: 2.5rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    max-width: 100%;
}
.main {
      margin: 7rem 3.13rem 7rem 3.13rem;
      background-color: #ffffee;
      font-style: italic;
      text-align: left;
      color: black;
      font-family: 'crete round', serif;
      font-size: 2.25rem;
      line-height: 2.38rem;
      font-weight: bold;
    }
    td {
      padding-top: .4rem;
      padding-right: .4rem;
      padding-bottom: .4rem;
      padding-left: .7rem;
    }
.monk > img {
	float: left;
	margin-left: 1rem;
	shape-outside: polygon(100% 0, 100% 100%, 0 100%, 0 70%, 75% 0);
}
.monk > p {
	margin: 0;
	text-align: left;
}

.cent {text-align: center}
.undr {text-decoration: underline}
.seam {
    border-bottom: 10px solid black;
}
.roon {color: maroon}
/*▬▬▬▬ PAUL’S TAB Courtesy PAUL O’BRIEN of Sitepoint ▬▬▬▬ */
    :root {
      --tab1color: #ffe5fe;
      --tab2color: teal;
      --tab3color: #caffff;
      --border-color: #000;
      /* this one above is the filter color that makes the top border*/
      --bottom-border-color: #000;
      /* no need to change*/
    }

    .tablabel3 {
      position: relative;
      text-align: center;
      border-radius: 20px 20px 0px 0px;
      color: black;
      padding: 1rem 1rem 0;
      font-size: 2.25rem;
      line-height: 1.5;
      font-weight: bold;
      height: 67px;
      width: 250px;
      filter: drop-shadow(-3px 0px var(--border-color)) drop-shadow(3px 0px var(--border-color));
    }

    .tab {
      display: flex;
      max-width: 950px;
      margin: auto;
      overflow: hidden;
      position: relative;
      z-index: 1;
      filter: drop-shadow(0px -5px var(--border-color));
      border-bottom: 10px solid var(--bottom-border-color);
    }

    .tab:after,
    .tab:before {
      content: "";
      position: relative;
      z-index: 2;
      flex: 1;
      /*box-shadow: 0 34px var(--tab2color);*/
      box-shadow: 0 34px rgba(221, 198, 136, 0.8);
      /* Try and match a color from the image*/
      mix-blend-mode: lighten;
      /* merge the box shadow above with the background */
      /* this is necessary or a gap will show */
    }

    .tab:before {
      box-shadow: 0 34px rgb(0, 0, 0, 0.8)
    }

    .tab:after {
      border-radius: 0 0 0 80px;
      margin-left: -9px;
    }

    .tab:before {
      border-radius: 0 0 80px 0;
      margin-right: -9px;
    }

    .tablabel3:before {
      content: "";
      pointer-events: none;
      position: absolute;
      inset: 0 0 0 0;
      z-index: -1;
      background: var(--tab2color) url("https://assets.codepen.io/74047/PARCHMENT-A.jpg");
      background-position: -3px -8px;
      transform: perspective(100px) rotateX(36deg) translateY(5px);
      border-radius: 20px 20px 0 0;
    }

    .bkdimg {
      position: relative;
      background: none;
      overflow: hidden;
      margin-top: 1rem;
      margin-bottom: -2px;
      /* attempt to stop rounding errors when zoomed*/
    }

.ctr{
    pointer-events:none;
    }
.ctr a{
    pointer-events:initial;
    }

    .ctr {
      position: absolute;
      inset: 0 0 0 0;
    }

    .ctr2 {
      z-index: 3;
    }

    .ctrmid {
      z-index: 2;
    }

    .ctr3 {
      z-index: 1;
    }

    .ctr2 .tab:before {
      flex: 0 0 65px;
    }

    .ctr3 .tab:after {
      flex: 0 0 65px;
    }

    /*
    .ctr2 .tab span *,
    .ctr2 .tablabel3:before {
     background: var(--tab1color);
      color: #000;
    }

    .ctr2 .tab:before,
    .ctr2 .tab:after {
      box-shadow: 0 34px var(--tab1color);
    }

    .ctr3 .tab span *,
    .ctr3 .tablabel3:before {
      background: var(--tab3color);
      color: #000;
    }

    .ctr3 .tab:before,
    .ctr3 .tab:after {
      box-shadow: 0 34px var(--tab3color);
    }
*/
    .tab1active .ctr,
    .tab2active .ctr,
    .tab3active .ctr {
      position: absolute;
    }

    .tab1active .ctr2,
    .tab2active .ctrmid,
    .tab3active .ctr3 {
      position: relative;
      z-index: 4;
    }

    .tab3active .ctr2 {
      z-index: 1;
    }

    /* ━━━━━━ BACKGROUND & POEM-A ━━━━━━ */
    .indent {
      margin-left: 6.26rem
    }

    .tab a {
      transform: translateY(-8px);
      display: flex;
      text-align: center;
      justify-content: center;
    }

    .tab a:link {
      color: black;
      font-weight: bold;
    }

    .tab a:visited {
      color: black;
      font-weight: bold;
    }

    .redlink a:link {
      color: crimson;
      padding-top: 1rem;
      font-weight: bold;
    }

    .redlink a:visited {
      color: crimson;
      padding-top: 1rem;
      font-weight: bold;
    }

    .leada {
      color: black;
      margin-top: 3.13rem;
      text-align: center;
      font-family: 'crete round', serif;
      font-weight: bold;
      font-size: 3rem;
      line-height: 3.25rem;
    }

    .leadb {
      text-align: center;
      font-family: 'crete round', serif;
      font-weight: 400;
      font-size: 2.5rem;
      line-height: 3rem;
    }

    .leadc {
      text-align: center;
      font-style: normal;
      margin-bottom: 2.5rem;
      font-family: 'crete round', serif;
      font-weight: 400;
      font-size: 2rem;
      line-height: 2.5rem;
    }

    .rip {
      margin: 0 auto;
      font-style: normal;
      color: black;
      font-family: 'solway', serif;
      font-size: 5rem;
      line-height: 1.1;
      font-weight: bold;
    }

    .begin {
      margin: 1.57rem 5% 0rem 5%;
      font-style: normal;
      text-align: center;
      color: black;
      font-family: 'Uncial Antiqua', serif;
      font-size: 6rem;
      line-height: 1.02;
      font-weight: bold;
    }
    .up {
      text-align: left;
      color: black;
      font-family: 'Uncial Antiqua', serif;
      font-size: 4.5rem;
      font-weight: bold;
    }
    .death {
      margin-top: 1.57rem;
      margin-left: 5%;
      margin-right: 5%;
      margin-bottom: 2.5rem;
      font-style: normal;
      text-align: left;
      color: black;
      font-family: 'solway', serif;
      font-size: 3.25rem;
      line-height: 1.1;
      font-weight: bold;
    }

    .parch {
      background-image: url('https://lh3.googleusercontent.com/pw/AP1GczOlyEgE-HLy3sGvlpsiiifoiEukf6i8ndkMD7oCPa-eMu7cHQscoSXEzAog6iNXvAFuF-JApkkfxSIz6_kA9Ro1-1aTzsWoLebvmCQB5TKPgdC80A=w1080-h1620');
      background-size: 100% 100%;
      padding: 1rem;
      background-position: 0 -10px;
    }
.thomas {
      float: left;
      width: 800px;
      margin: 2rem 0 0 -3rem;
      position: relative;   /* courtesy “snadyleiby” of Sitepoint forums */
      left: -1.25rem;
      height: auto;
      shape-outside: url(https://lh3.googleusercontent.com/pw/AP1GczMk8cz_90Sa-9xH5OfzZjinYKqNmwgwADgRuG3MrlS1V83nGy8pALSNF-mnSZ18kRO9ZIuT-bpa6WUKg22Ar7H6X90W9BTV_ATzLXFz7zgEORAgxg=w800-h1215);
      shape-margin: 1rem
    }
 
.foot {
      color: #ffffee; /* ivory */
      margin-top: 1rem;
      text-align: left;
      font-style: normal;
      margin-bottom: 3.13rem;
      font-family: 'crete round', serif;
      font-weight: bold;
      font-size: 2rem;
      line-height: 2.13rem;
    }

/*▬▬▬▬▬▬ END CSS ▬▬▬▬▬▬*/
</style>
</head>

<body>
<main>

<!-- 3 TABS: add active class to anchor to bring the tab in front as required -->
  <nav class="svgtabs threetab">

    <a class="svgtab1" href="#">
      <span>Three Tab</span>
      <svg viewBox="0 0 116.417 11.875" xmlns="http://www.w3.org/2000/svg">
        <use href="#anitab-medium" />
      </svg>
    </a>

    <a class="svgtab2" href="#">
      <span>Three Tab</span>
      <svg viewBox="0 0 116.417 11.875" xmlns="http://www.w3.org/2000/svg">
        <use href="#anitab-medium" />
      </svg>
    </a>

    <a class="svgtab3" href="#">
      <span>Three Tab</span>
      <svg viewBox="0 0 116.417 11.875" xmlns="http://www.w3.org/2000/svg">
        <use href="#anitab-medium" />
      </svg>
    </a>

  </nav>
<div class="seam">&nbsp;</div>

<div class="parch">

<div class="begin">
The Murder of Thomas Merton
</div>
<div class="cent">
<table class="rip">
<tbody>
<tr>
<td>1915</td>
<td>
<img src="https://lh3.googleusercontent.com/pw/AP1GczNK01urgiwZ_soZQU-12U29Siu-4J37H-ZvpeC3gKfz0IzceW35to0b8q7EjDHp2nXfNaPSfc1Dwary6KUrjiDl-Ldxj4xRRi9umxtZJwgtJjXgxA=w200-h300" alt="">
</td>
<td>1968</td>
</tr>
</tbody>
</table>
</div><!-- closing cent -->
<div class="death">
<span class="up">On December 10, 1968</span> Thomas Merton was at a Red Cross retreat facility named Sawang Khaniwat in Samut Prakan, a province near Bangkok, Thailand, attending a monastic conference. After giving a talk at the morning session, he was found dead later in the afternoon in the room of his cottage, wearing only shorts, lying on his back with a short-circuited Hitachi floor fan lying across his body. His associate, Jean Leclercq, stated: &ldquo;In all probability the death of Thomas Merton was due in part to heart failure, in part to an electric shock.&rdquo; 
<p></p>
<p>
<span class="roon">Since there was no autopsy, there was no suitable explanation for the wound in the back of Merton&rsquo;s head, &ldquo;which had bled considerably.&rdquo;</span> Arriving from the cottage next to Merton&rsquo;s, the Primate of the Benedictine order and presiding officer of the conference, Rembert Weakland, anointed Merton. 
</p>
<p>
He was 53 years old.<p>
</p>
<p>
His body was flown back to the United States on board a U.S. military aircraft returning from Vietnam. He is buried at Our Lady of Gethsemani Abbey in Bardstown, Kentucky.
</p>
<p>
In 2018, Hugh Turley and David Martin published <i>&ldquo;The Martyrdom of Thomas Merton: An Investigation,&rdquo;</i> presenting the evidentiary record&rsquo;s refutation of claims of accidental electrocution, and suggesting Merton was assassinated for his political opposition to the Vietnam War. <img class="thomas" src="https://lh3.googleusercontent.com/pw/AP1GczPTWavHrmjtxd8dHLq8ZcIhLMYiX4l_ZdQ054LnW-vTEv5KG3HdKej-1CGA93BSUc6EG1hdDVAujPiEELRhJlMKOWYrX2U9-4un_QH64Ju8nNvQzQ=w800-h1215" alt="">A subsequent book by Turley and Author John Howard Griffin &mdash; <i><span class="undr">Thomas Merton&rsquo;s Betrayers: The Case Against Abbot James Fox</span></i> &mdash; presents documentary evidence of manipulation and coverup by the Catholic Church and Merton&rsquo;s political foes.
</p>
<p>
The Spring 2024 issue of <i>The Catholic Historical Review</i> published <i>&ldquo;The Official Thai Reports on Thomas Merton&rsquo;s Death.&rdquo;</i> 
The official cause of death was a natural cause: &ldquo;sudden heart failure&rdquo; and not &ldquo;accidental electrocution.&rdquo; <span class="roon">The police report states that Merton was already dead before he came into contact with a faulty fan that was found lying across his body.</span>
</p>
</div><!-- closing death -->

<!-- this one is for the three tab version -->

<!-- medium tab -->
    <svg viewBox="0 0 116.417 11.875" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
      <defs>
        <g id="anitab-medium" class="tab-unit">
          <clipPath id="shape3">
            <path d="M93.07 302.303c-11.069 0-14.631.576-18.744 8.02-3.005 5.437-6.063 6.224-6.8 7.09h95.002c-.737-.866-3.795-1.653-6.8-7.09-4.113-7.444-7.675-8.02-18.745-8.02Z" transform="translate(-56.819 -301.538)" />
          </clipPath>
          <path style="fill:#000; stroke-width:4; stroke:#000" d="M87.484 301.538c-4.09.011-6.897 1.05-8.968 2.625-2.083 1.583-3.41 3.653-4.72 5.63-1.31 1.979-2.601 3.868-4.552 5.263-1.951 1.395-4.582 2.342-8.723 2.342H56.82v.015h11.236a12.469 12.469 0 0 0 2.038-1.172c2.208-1.579 3.604-3.656 4.92-5.642 1.317-1.987 2.556-3.883 4.385-5.274 1.83-1.39 4.264-2.33 8.15-2.33h54.957c3.887 0 6.321.94 8.15 2.33 1.83 1.391 3.07 3.287 4.386 5.274 1.316 1.986 2.712 4.063 4.92 5.642a12.47 12.47 0 0 0 2.038 1.172h11.236v-.015h-3.702c-4.14 0-6.772-.947-8.723-2.342-1.95-1.395-3.242-3.284-4.552-5.262-1.31-1.978-2.637-4.048-4.719-5.63-2.071-1.575-4.879-2.615-8.97-2.626Z" transform="translate(-56.819 -301.538)" />

          <image class="tab-animated tan3" transform="translate(00 0)" width="270" height="220" href="https://semicodin.nekoweb.org/vault/parchment-a.jpg" clip-path="url(#shape3)" />
        </g>
      </defs>
    </svg>

</div><!-- closing parchment -->
</div><!-- closing main --><div class="counter">
</div><!-- closing counter -->

</body>
</html>

I don’t understand Archibald. Do you mean symantically? Is it illegal HTML? I honestly don’t understand the comment. Please tell me what you think of my own code. Thanks.

You have already done that above the poem.

I suggested the HTML <aside> tag may be the most appropriate tag to use semantically.

Here I have inserted an aside and have added CSS for the notes class to have the parchment as a background image for the aside. You can change that to some other image.

I guess you will need Paul to help with the tabs!

<!DOCTYPE html>
<HTML LANG="en">
<HEAD>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Crete+Round:ital@0;1&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Calistoga&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Solway:wght@300;400;500;700;800&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Henny+Penny&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Special+Elite&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">

<title>The Martyrdom of Thomas Merton by semicodin &#7172; with Huge Assistance from  Paul O&rsquo;Brien of Sitepoint Forums</title>

  <style>
    body {
      width: 1080px;
      margin: 0;
      font-family: 'roboto slab', serif;
      font-size: 2rem;
      line-height: 2.13rem;
      font-weight: 600;
      color: black;
    }
p {
    line-height: 1
}

#counter {
    margin-top: 2.5rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    max-width: 100%;
}
.main {
      margin: 7rem 3.13rem 7rem 3.13rem;
      background-color: #ffffee;
      font-style: italic;
      text-align: left;
      color: black;
      font-family: 'crete round', serif;
      font-size: 2.25rem;
      line-height: 2.38rem;
      font-weight: bold;
    }
    td {
      padding-top: .4rem;
      padding-right: .4rem;
      padding-bottom: .4rem;
      padding-left: .7rem;
    }
.monk > img {
	float: left;
	margin-left: 1rem;
	shape-outside: polygon(100% 0, 100% 100%, 0 100%, 0 70%, 75% 0);
}
.monk > p {
	margin: 0;
	text-align: left;
}

.cent {text-align: center}
.undr {text-decoration: underline}
.seam {
    border-bottom: 10px solid black;
}
.roon {color: maroon}
/*▬▬▬▬ PAUL’S TAB Courtesy PAUL O’BRIEN of Sitepoint ▬▬▬▬ */
    :root {
      --tab1color: #ffe5fe;
      --tab2color: teal;
      --tab3color: #caffff;
      --border-color: #000;
      /* this one above is the filter color that makes the top border*/
      --bottom-border-color: #000;
      /* no need to change*/
    }

    .tablabel3 {
      position: relative;
      text-align: center;
      border-radius: 20px 20px 0px 0px;
      color: black;
      padding: 1rem 1rem 0;
      font-size: 2.25rem;
      line-height: 1.5;
      font-weight: bold;
      height: 67px;
      width: 250px;
      filter: drop-shadow(-3px 0px var(--border-color)) drop-shadow(3px 0px var(--border-color));
    }

    .tab {
      display: flex;
      max-width: 950px;
      margin: auto;
      overflow: hidden;
      position: relative;
      z-index: 1;
      filter: drop-shadow(0px -5px var(--border-color));
      border-bottom: 10px solid var(--bottom-border-color);
    }

    .tab:after,
    .tab:before {
      content: "";
      position: relative;
      z-index: 2;
      flex: 1;
      /*box-shadow: 0 34px var(--tab2color);*/
      box-shadow: 0 34px rgba(221, 198, 136, 0.8);
      /* Try and match a color from the image*/
      mix-blend-mode: lighten;
      /* merge the box shadow above with the background */
      /* this is necessary or a gap will show */
    }

    .tab:before {
      box-shadow: 0 34px rgb(0, 0, 0, 0.8)
    }

    .tab:after {
      border-radius: 0 0 0 80px;
      margin-left: -9px;
    }

    .tab:before {
      border-radius: 0 0 80px 0;
      margin-right: -9px;
    }

    .tablabel3:before {
      content: "";
      pointer-events: none;
      position: absolute;
      inset: 0 0 0 0;
      z-index: -1;
      background: var(--tab2color) url("https://assets.codepen.io/74047/PARCHMENT-A.jpg");
      background-position: -3px -8px;
      transform: perspective(100px) rotateX(36deg) translateY(5px);
      border-radius: 20px 20px 0 0;
    }

    .bkdimg {
      position: relative;
      background: none;
      overflow: hidden;
      margin-top: 1rem;
      margin-bottom: -2px;
      /* attempt to stop rounding errors when zoomed*/
    }

.ctr{
    pointer-events:none;
    }
.ctr a{
    pointer-events:initial;
    }

    .ctr {
      position: absolute;
      inset: 0 0 0 0;
    }

    .ctr2 {
      z-index: 3;
    }

    .ctrmid {
      z-index: 2;
    }

    .ctr3 {
      z-index: 1;
    }

    .ctr2 .tab:before {
      flex: 0 0 65px;
    }

    .ctr3 .tab:after {
      flex: 0 0 65px;
    }

    /*
    .ctr2 .tab span *,
    .ctr2 .tablabel3:before {
     background: var(--tab1color);
      color: #000;
    }

    .ctr2 .tab:before,
    .ctr2 .tab:after {
      box-shadow: 0 34px var(--tab1color);
    }

    .ctr3 .tab span *,
    .ctr3 .tablabel3:before {
      background: var(--tab3color);
      color: #000;
    }

    .ctr3 .tab:before,
    .ctr3 .tab:after {
      box-shadow: 0 34px var(--tab3color);
    }
*/
    .tab1active .ctr,
    .tab2active .ctr,
    .tab3active .ctr {
      position: absolute;
    }

    .tab1active .ctr2,
    .tab2active .ctrmid,
    .tab3active .ctr3 {
      position: relative;
      z-index: 4;
    }

    .tab3active .ctr2 {
      z-index: 1;
    }

    /* ━━━━━━ BACKGROUND & POEM-A ━━━━━━ */
    .indent {
      margin-left: 6.26rem
    }

    .tab a {
      transform: translateY(-8px);
      display: flex;
      text-align: center;
      justify-content: center;
    }

    .tab a:link {
      color: black;
      font-weight: bold;
    }

    .tab a:visited {
      color: black;
      font-weight: bold;
    }

    .redlink a:link {
      color: crimson;
      padding-top: 1rem;
      font-weight: bold;
    }

    .redlink a:visited {
      color: crimson;
      padding-top: 1rem;
      font-weight: bold;
    }

    .leada {
      color: black;
      margin-top: 3.13rem;
      text-align: center;
      font-family: 'crete round', serif;
      font-weight: bold;
      font-size: 3rem;
      line-height: 3.25rem;
    }

    .leadb {
      text-align: center;
      font-family: 'crete round', serif;
      font-weight: 400;
      font-size: 2.5rem;
      line-height: 3rem;
    }

    .leadc {
      text-align: center;
      font-style: normal;
      margin-bottom: 2.5rem;
      font-family: 'crete round', serif;
      font-weight: 400;
      font-size: 2rem;
      line-height: 2.5rem;
    }

    .rip {
      margin: 0 auto;
      font-style: normal;
      color: black;
      font-family: 'solway', serif;
      font-size: 5rem;
      line-height: 1.1;
      font-weight: bold;
    }

    .begin {
      margin: 1.57rem 5% 0rem 5%;
      font-style: normal;
      text-align: center;
      color: black;
      font-family: 'Uncial Antiqua', serif;
      font-size: 6rem;
      line-height: 1.02;
      font-weight: bold;
    }
    .up {
      text-align: left;
      color: black;
      font-family: 'Uncial Antiqua', serif;
      font-size: 4.5rem;
      font-weight: bold;
    }
    .death {
      margin-top: 1.57rem;
      margin-left: 5%;
      margin-right: 5%;
      margin-bottom: 2.5rem;
      font-style: normal;
      text-align: left;
      color: black;
      font-family: 'solway', serif;
      font-size: 3.25rem;
      line-height: 1.1;
      font-weight: bold;
    }

    .parch {
      background-image: url('https://lh3.googleusercontent.com/pw/AP1GczOlyEgE-HLy3sGvlpsiiifoiEukf6i8ndkMD7oCPa-eMu7cHQscoSXEzAog6iNXvAFuF-JApkkfxSIz6_kA9Ro1-1aTzsWoLebvmCQB5TKPgdC80A=w1080-h1620');
      background-size: 100% 100%;
      padding: 1rem;
      background-position: 0 -10px;
    }
.thomas {
      float: left;
      width: 800px;
      margin: 2rem 0 0 -3rem;
      position: relative;   /* courtesy “snadyleiby” of Sitepoint forums */
      left: -1.25rem;
      height: auto;
      shape-outside: url(https://lh3.googleusercontent.com/pw/AP1GczMk8cz_90Sa-9xH5OfzZjinYKqNmwgwADgRuG3MrlS1V83nGy8pALSNF-mnSZ18kRO9ZIuT-bpa6WUKg22Ar7H6X90W9BTV_ATzLXFz7zgEORAgxg=w800-h1215);
      shape-margin: 1rem
    }
 
.foot {
      color: #ffffee; /* ivory */
      margin-top: 1rem;
      text-align: left;
      font-style: normal;
      margin-bottom: 3.13rem;
      font-family: 'crete round', serif;
      font-weight: bold;
      font-size: 2rem;
      line-height: 2.13rem;
    }
	
.notes {
  background-image: url('https://lh3.googleusercontent.com/pw/AP1GczOlyEgE-HLy3sGvlpsiiifoiEukf6i8ndkMD7oCPa-eMu7cHQscoSXEzAog6iNXvAFuF-JApkkfxSIz6_kA9Ro1-1aTzsWoLebvmCQB5TKPgdC80A=w1080-h16205');
}	

/*▬▬▬▬▬▬ END CSS ▬▬▬▬▬▬*/
</style>
</head>

<body>
<main>

<aside class="notes">
<p>Some text</p>
<p>some more text</p>
</aside>

<!-- 3 TABS: add active class to anchor to bring the tab in front as required -->
  <nav class="svgtabs threetab">

    <a class="svgtab1" href="#">
      <span>Three Tab</span>
      <svg viewBox="0 0 116.417 11.875" xmlns="http://www.w3.org/2000/svg">
        <use href="#anitab-medium" />
      </svg>
    </a>

    <a class="svgtab2" href="#">
      <span>Three Tab</span>
      <svg viewBox="0 0 116.417 11.875" xmlns="http://www.w3.org/2000/svg">
        <use href="#anitab-medium" />
      </svg>
    </a>

    <a class="svgtab3" href="#">
      <span>Three Tab</span>
      <svg viewBox="0 0 116.417 11.875" xmlns="http://www.w3.org/2000/svg">
        <use href="#anitab-medium" />
      </svg>
    </a>

  </nav>
<div class="seam">&nbsp;</div>

<div class="parch">

<div class="begin">
The Murder of Thomas Merton
</div>
<div class="cent">
<table class="rip">
<tbody>
<tr>
<td>1915</td>
<td>
<img src="https://lh3.googleusercontent.com/pw/AP1GczNK01urgiwZ_soZQU-12U29Siu-4J37H-ZvpeC3gKfz0IzceW35to0b8q7EjDHp2nXfNaPSfc1Dwary6KUrjiDl-Ldxj4xRRi9umxtZJwgtJjXgxA=w200-h300" alt="">
</td>
<td>1968</td>
</tr>
</tbody>
</table>
</div><!-- closing cent -->
<div class="death">
<span class="up">On December 10, 1968</span> Thomas Merton was at a Red Cross retreat facility named Sawang Khaniwat in Samut Prakan, a province near Bangkok, Thailand, attending a monastic conference. After giving a talk at the morning session, he was found dead later in the afternoon in the room of his cottage, wearing only shorts, lying on his back with a short-circuited Hitachi floor fan lying across his body. His associate, Jean Leclercq, stated: &ldquo;In all probability the death of Thomas Merton was due in part to heart failure, in part to an electric shock.&rdquo; 
<p></p>
<p>
<span class="roon">Since there was no autopsy, there was no suitable explanation for the wound in the back of Merton&rsquo;s head, &ldquo;which had bled considerably.&rdquo;</span> Arriving from the cottage next to Merton&rsquo;s, the Primate of the Benedictine order and presiding officer of the conference, Rembert Weakland, anointed Merton. 
</p>
<p>
He was 53 years old.<p>
</p>
<p>
His body was flown back to the United States on board a U.S. military aircraft returning from Vietnam. He is buried at Our Lady of Gethsemani Abbey in Bardstown, Kentucky.
</p>
<p>
In 2018, Hugh Turley and David Martin published <i>&ldquo;The Martyrdom of Thomas Merton: An Investigation,&rdquo;</i> presenting the evidentiary record&rsquo;s refutation of claims of accidental electrocution, and suggesting Merton was assassinated for his political opposition to the Vietnam War. <img class="thomas" src="https://lh3.googleusercontent.com/pw/AP1GczPTWavHrmjtxd8dHLq8ZcIhLMYiX4l_ZdQ054LnW-vTEv5KG3HdKej-1CGA93BSUc6EG1hdDVAujPiEELRhJlMKOWYrX2U9-4un_QH64Ju8nNvQzQ=w800-h1215" alt="">A subsequent book by Turley and Author John Howard Griffin &mdash; <i><span class="undr">Thomas Merton&rsquo;s Betrayers: The Case Against Abbot James Fox</span></i> &mdash; presents documentary evidence of manipulation and coverup by the Catholic Church and Merton&rsquo;s political foes.
</p>
<p>
The Spring 2024 issue of <i>The Catholic Historical Review</i> published <i>&ldquo;The Official Thai Reports on Thomas Merton&rsquo;s Death.&rdquo;</i> 
The official cause of death was a natural cause: &ldquo;sudden heart failure&rdquo; and not &ldquo;accidental electrocution.&rdquo; <span class="roon">The police report states that Merton was already dead before he came into contact with a faulty fan that was found lying across his body.</span>
</p>
</div><!-- closing death -->

<!-- this one is for the three tab version -->

<!-- medium tab -->
    <svg viewBox="0 0 116.417 11.875" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
      <defs>
        <g id="anitab-medium" class="tab-unit">
          <clipPath id="shape3">
            <path d="M93.07 302.303c-11.069 0-14.631.576-18.744 8.02-3.005 5.437-6.063 6.224-6.8 7.09h95.002c-.737-.866-3.795-1.653-6.8-7.09-4.113-7.444-7.675-8.02-18.745-8.02Z" transform="translate(-56.819 -301.538)" />
          </clipPath>
          <path style="fill:#000; stroke-width:4; stroke:#000" d="M87.484 301.538c-4.09.011-6.897 1.05-8.968 2.625-2.083 1.583-3.41 3.653-4.72 5.63-1.31 1.979-2.601 3.868-4.552 5.263-1.951 1.395-4.582 2.342-8.723 2.342H56.82v.015h11.236a12.469 12.469 0 0 0 2.038-1.172c2.208-1.579 3.604-3.656 4.92-5.642 1.317-1.987 2.556-3.883 4.385-5.274 1.83-1.39 4.264-2.33 8.15-2.33h54.957c3.887 0 6.321.94 8.15 2.33 1.83 1.391 3.07 3.287 4.386 5.274 1.316 1.986 2.712 4.063 4.92 5.642a12.47 12.47 0 0 0 2.038 1.172h11.236v-.015h-3.702c-4.14 0-6.772-.947-8.723-2.342-1.95-1.395-3.242-3.284-4.552-5.262-1.31-1.978-2.637-4.048-4.719-5.63-2.071-1.575-4.879-2.615-8.97-2.626Z" transform="translate(-56.819 -301.538)" />

          <image class="tab-animated tan3" transform="translate(00 0)" width="270" height="220" href="https://semicodin.nekoweb.org/vault/parchment-a.jpg" clip-path="url(#shape3)" />
        </g>
      </defs>
    </svg>

</div><!-- closing parchment -->
</div><!-- closing main --><div class="counter">
</div><!-- closing counter -->

</body>
</html>

Archibald it was my graphic for the <aside> tag I was asking about — namely why it’s gluing itself to my text and preventing me from reading large chunks of text. I did it this way:

<body>
<aside class="bkdimg1">

Was that wrong?

<aside class="bkdimg1"> is OK but <bkdimg1> is invalid HTML (usually).

Your code in Post #12 does not include any <aside> or anything else to create “space” at the top of the page above the tabs.

Do you want your “graphic” to be an <img> element within an <aside> element or do you want it to be the background image for an <aside> element?

I want it to be a background image whichever way I can type out my notes without their being glued to the background image. I guess the second one . . . ?

It sounds like you want your text to be away from your image, not to have the text appear on a background image. If so, you will need an <img> element within your <aside> element.

I want the text to sit on top of the background image you see in my code. It is ivory colored and has a stylish black border. It’s not complicated Archibald: the image is grabbing hold of the text and lowering or raising itself proportionate to the position of the text. If I set a top margin of 5rem for the text the image will lower itself by 5rem. If I set a top margin of 1rem for the text the image will lower itself by 1rem. I want it to remain stable, quit adjusting itself to the whims of my content and filling up the viewport to it’s full width. There should be no space visible on all four of its sides. It keeps moving with my text!

So use the code in Post #14 and change the URL of the background image for the notes class to the URL of the ivory image (at present it is the URL of the parchment image).

You will find the CSS rule for the notes class in the last three lines of CSS.

1 Like