<shape-outside: polygon> on a Page with a Background Image

I’m going to be wrapping text around a graphic that needs to appear on top of a background image. Below is a markup of the goal. This is going to be paired with Paul’s animated parchment tabs which I will correct on my own and I’m going to attempt <shape-outside: polygon> around the image of Merton sitting in repose on my own as well. I’m only uncertain about how to place the bottom graphic. I basically want it to sit on the parchment’s bottom edge — no longer — then a 6rem margin of the white viewport. In other words, I don’t want Merton sitting on the very edge of my viewport! :tongue: Thank you for your help as always. Edit — Sorry I forgot my code!

<!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;
    }

#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;
    }

.cent {text-align: center}
.undr {text-decoration: underline}

/*▬▬▬▬ 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;
1    }

    .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/AP1GczPDfvwqDW1yEvPWS6t1OTvdSjSgqtx6_Jy04wSepKB4uTpQxjaWCLQ-_E6aauI6dBWM_ceLLqzSxXVUTmY2paWa1wTDNUbRiOdYfE4w7iTpL3UkJg=w1080-h1620');
      background-size: 100% 100%;
      padding: 1rem;
      background-position: 0 -10px;
    }

.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="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">
</td>
<td>1968</td>
</tr>
</tbody>
</table>

<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; 
<br>
<br>
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; 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. 
<br>
<br>
He was 53 years old.<br>
<br>
His body was flown back to the United States on board a US military aircraft returning from Vietnam. He is buried at Our Lady of Gethsemani Abbey in Bardstown, Kentucky.<br>
<br>
In 2018, Hugh Turley and David Martin published The Martyrdom of Thomas Merton: An Investigation, 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. A subsequent book by Turley &mdash; <i>Thomas Merton&rsquo;s Betrayers: The Case Against Abbot James Fox</i> &mdash; and Author John Howard Griffin, presents documentary evidence of manipulation and coverup by the Catholic Church and Merton&rsquo;s political foes.
</div>
</div> <!-- ending main -->
    <!-- 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://assets.codepen.io/74047/PARCHMENT-A.jpg" clip-path="url(#shape3)" />
        </g>
      </defs>
    </svg>
  </div>

</div><!-- closing counter -->
</div><!-- closing parchment -->
</body>
</html>

If that man sitting down is a separate image from the parchment and is a transparent png image then you can use the image as the basis for the shape outside property and text will flow inside the transparent parts and around the man automatically.

You can’t place a shape-outside element at the bottom of anything. A shape-outside element is floated and cannot be absolutely positioned otherwise it won’t repel the text around it.

You will just have to insert that shape-outside element at the exact point in your text content where it works best for you. As you have a fixed width then you should be able to manage that ok. There is no way to automatically wrap text around an image that sits at the bottom (of anything).

If you can supply the two different images then I can show a rough example.

OFF-Topic: I note that you are still using spans and breaks when you should be using the p element. We have mentioned this a number of times and breaks are not for making space. Use the margin on the p tag which has fine control unlike the break tag. (Historically browsers ignored two breaks in a row because the purpose of a break is to make a single line break between lines of a poem or address but not to imitate a paragraph and never just to make space.)

I just quickly cut that image up so this is very ragged but is just to show the general idea.

I’ve also just chucked it onto an old demo so only focus on the bits you need.

When you have it in your real page you will needf to manually move the image so that the text finishes at the bottom.

In my example it went here.

The Case Against Abbot James Fox</i> &mdash; <img class="thomas" src="https://assets.codepen.io/74047/thomas2.png" alt="" />and Author John Howard Griffin, presents documentary evidence of manipulation and coverup by the Catholic Church and Merton&rsquo;s political foes.

I don’t like the <p> tag because I have to write additional code restraining it from taking up additional height per line than the font size warrants making the page look so bloated I can’t stand looking at it. I am of the typographer’s old school of “tight letting” in the printed page. My resistance to the <p> tag is deeply ingrained but for this forum I will do as you insist and discipline the tag in the css. It has its uses; it just looks horrible.

Don’t be silly :slight_smile: It looks exactly as you want it to be. Just adjust the margins to suit.

A P element has default margins so if you want it to look the same as a break you would just add margin:0. However as you have added two breaks that assumes you want a gap of some sort so add the exact measurement you need.

e.g.

p{margin:0 0 3.5rem}

You have perfect control over the p element and no control over the break element and as I said some browsers may ignore multiple breaks if they so wished. Not to mention that without paragraphs your page has no real meaning semantically.

Don’t fight against html. Use it to your advantage :slight_smile:

2 Likes

I’m going to do it but frankly because I can no longer say that I’m writing these pages for myself alone: There are people downloading my code and just because I’m eccentric and don’t like the sloppy letting — and it is sloppy; it’s deplorable (Aldus himself would blush) — on the <p> tag doesn’t mean that I want our little lambs getting into the bad habits of their eccentric teacher. An ugly, despicable tag that I’ll hold my nose and do for them.

And you Paul. And you. In the face of your generosity I don’t have a leg to stand on. I’m outnumbered and . . . and I give up. We won’t discuss it again. Case closed.

I’ll tell you what else I’ve given up on is this page! Arrrrgh! I’m snowblind from studying the SVG in this page, trying to get the (now 69) people who want to see your 3 animated tabs working together. Here I have a juicy murder to entertain them with involving the CIA and the Catholic church and I cant get this page working. But before even that, the bloody Validator reports that I have a “stray end tag” and an “unclosed div” which for the last hour I swear I cannot locate. But wait, there’s more.

The graphic of Thomas Merton was looking insufficient for its page so I resized it to 800 X 1215, uploaded it and then stuck it in a likely position in the page to allow for more generous wrapping around the polygon. When I open the page I briefly see the image in its full size . . . and then it blinks and reverts to the small 500 version!! WTF?!? On line 445 you have what looks like a typo — tab-animated tan3 — but loathe be I to challenge your code Maestro. I presume that’s there for a reason; just pointing it out.

So in short I was up until 2AM trying to get this page to display 3 of your gorgeous animated tabs. I’m tired and grumpy and would appreciate what help you can give me. The page is clean of its <br>s. Note also I adjusted the color balance of the smokey page I’m using for this demonstration of the <shape-outside: polygon> so it will compliment our parchment better. So please use this version below, it also has the larger Merton graphic. Thank you Paul.

<!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: 300px;
      margin: 2rem 0 0 -3rem;
      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>
<img class="thomas" src="https://lh3.googleusercontent.com/pw/AP1GczMk8cz_90Sa-9xH5OfzZjinYKqNmwgwADgRuG3MrlS1V83nGy8pALSNF-mnSZ18kRO9ZIuT-bpa6WUKg22Ar7H6X90W9BTV_ATzLXFz7zgEORAgxg=w800-h1215" alt="">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. A subsequent book by Turley &mdash; <i>&ldquo;Thaomas Merton&rsquo;s Betrayers: The Case Against Abbot James Fox&rdquo;</i> &mdash; and Author John Howard Griffin, presents documentary evidence of manipulation and coverup by the Catholic Church and Merton&rsquo;s political foes.
</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 forgot one last thing: is there a way we can get Merton’s graphic to line up with the margin on its left side? I don’t know if such a thing is possible but it would be my preference. Thank you.

And I’d like a reasonable margin around Merton — 2rems should do it. See what you think and follow your excellent designer’s eye for these things. Thank you Paul.

As a matter of interest, I noticed that the text is only
wrapping around Thomas in my Vivaldi browser.

I do not know, if @PaulOB has a better solution but
adding this…

.thomas { 
      position: relative;
      left: -1.25rem;

…to this…

.thomas { 
      float: left;
      width: 300px;
      margin: 2rem 0 0 -3rem;
      height: auto;
      shape-outside: url(https://lh3.googleusercontent.com/pw/AP1GczMk8cz_90Sa-9xH5OfzZjinYKqNmwgwADgRuG3MrlS1V83nGy8pALSNF-mnSZ18kRO9ZIuT-bpa6WUKg22Ar7H6X90W9BTV_ATzLXFz7zgEORAgxg=w800-h1215);
      shape-margin: 1rem
    }

…moved the image to your desired position. :wink:

1 Like

It still doesn’t wrap and the image doesn’t indent with the margins (in Pure Browser, my official code testing browser) but thank you anyway snady: you just showed me where my image size was hiding out! :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/AP1GczMk8cz_90Sa-9xH5OfzZjinYKqNmwgwADgRuG3MrlS1V83nGy8pALSNF-mnSZ18kRO9ZIuT-bpa6WUKg22Ar7H6X90W9BTV_ATzLXFz7zgEORAgxg=w800-h1215" alt="">A subsequent book by Turley &mdash; <i><span class="undr">Thomas Merton&rsquo;s Betrayers: The Case Against Abbot James Fox</span></i> and Author John Howard Griffin &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-<!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>

It’s funny: Now that I’m looking at it I think I actually prefer his image all the way to the left with no margin. There’s one problem solved; now to get his text to wrap . . . I’m going back to Archibald’s shout and see what I can cull from his code.

Why are you posting a great big chunk of broken html? :slight_smile:

It looks likes you’ve inserted a whole html page inside another html in the midlle of an svg?


            <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-<!DOCTYPE html>
<HTML LANG=" en">

I can’t make head or tail of that and don’t have a clue what you want it to look like.:slight_smile:

However I can still see that there are two reasons the text isn’t wrapping around the image and one is that in the shape-outside url you don’t link to the correct image (the url is different to the image in the html).

The second problem is that you have the image at 800px wide which leaves about 100pixels for space for your text to wrap and at the font size you have there is not enough room for a single word alongside that image.

If you can give me the basic template you are using with the correct tabs in place (as they are all jumbled up in the code you posted) then I will place the image properly for you.

As you can see from this basic codepen the text will wrap if you do the right things. :slight_smile:

Ok, I pulled a few styles out of that mixed up html you posted and put just the styles needed for the tabs and the Thomas image.

This should make it a little easier for you to see the components needed.

1 Like

There were a few things I needed to restore and in the course of changing the image source back to the src I originally had, and back to the width I originally had I broke the wrapping.

I cannot use your images as sources Paul. I realize it’s easier for you to avoid Google’s obscene encryption crap but I hope you understand that control of the source must remain with the author?

I had it wrapping perfectly right where I placed the image but the minute I pasted in my own image it broke. I can’t explain why. I have to be permitted to use my own assets!

I thank you for installing the three gorgeous animated tabs but I tried reversing their order and discovered you’re using a z-index that doesn’t correlate with the one I successfully reversed on the 7 tabs. Just show me where to do it and I’ll reverse them. I’m an American and I don’t read from right to left I read from left to right. The tabs should always be set with the first tab on the left on top.

I’m sorry the forum posted this before I was finished typing it.

IT LOOKS GREAT AT 800. Do you think I’m stupid enough to upload a size that would completely block the content.? Just try it and you’ll see the smaller words fit beautifully right up to the very last word.

But you’ll have to.use you own asset since mine won’t wrap. :face_with_diagonal_mouth:

You don’t have to. They were exact copies of your working image. I didn’t change anything about them. I added it to my assets as your google images kept going offline like this:

https://lh3.googleusercontent.com/pw/AP1GczPTWavHrmjtxd8dHLq8ZcIhLMYiX4l_ZdQ054LnW-vTEv5KG3HdKej-1CGA93BSUc6EG1hdDVAujPiEELRhJlMKOWYrX2U9-4un_QH64Ju8nNvQzQ=w800-h1215)

Google
400. That’s an error.

Your client has issued a malformed or illegal request. That’s all we know.

You can use your own images without problem assuming you don’t have a typo or the wrong image.

It will work at 800px in my codepen above but not in your original because as I said you only had about 100px space available due to all your margins and padding. I fixed all those in my last demo. You can change it to 800px and it will still work in my demo but to me it seems much too big but that’s a choice for you.

Then I guess you did not fix the broken url in the shape outside that I already mentioned. If you want me to fix it you are going to have to post all your current code as you can see from my codepen it works perfectly :slight_smile:

<!DOCTYPE html>
<HTML LANG="en">

<HEAD>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Bucket The Martyrdom of Thomas Merton by semicodin &#7172; with Huge Assistance from Paul O&rsquo;Brien of Sitepoint Forums</title>
  <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>Bucket &#7172; Thomss Merton</title>

  <style>
    body {
      width: 1080px;
      margin: 1.94rem auto;
      margin-bottom: 3.75rem;
      font-family: 'courier prime', monospace;
      font-size: 2rem;
      line-height: 1.02;
      font-weight: bold;
      color: black;
    }

    /* The tab css is in this panel for eas of use and should go in the main css when ready */
    .svgtabs {
      --tab3-bg-color: #b16742;
      --tab3-color: #000;
    }

    .svgtabs {
      width: 100%;
      margin: auto;
      display: flex;
      overflow: hidden;
    }

    .svgtabs a {
      color: #000;
      text-decoration: none;
      flex: 1 0 0;
      display: grid;
      align-items: center;
      grid-template-areas: "tab";
      position: relative;
      text-align: center;
      margin-right: -9rem;
      transition: 0.3s ease;
    }

    .svgtabs.threetab a {
      margin-right: -7rem;
    }

    .svgtabs a:last-child {
      margin-right: 0 !important;
    }

    .svgtabs svg {
      width: 245px;
      height: 53px;
      display: block;
      grid-area: tab;
      position: relative;
      z-index: 1;
    }

    .svgtabs.threetab svg {
      width: 440px;
      height: 60px;
    }

    .svgtabs span {
      grid-area: tab;
      position: relative;
      z-index: 2;
      padding: 11px 2rem 0 0;
      font-weight: bold;
      color: #000;
      font-size: 1.9rem;
    }

    .svgtabs a:last-child span {
      padding: 11px 1rem 0;
    }

    .svgtabs a.active {
      z-index: 99;
    }

    .svgtabs a.active span {
      padding: 11px 1rem 0;
    }

    .hide-svg {
      position: fixed;
      left: -100vw;
      top: -100vh;
      height: 1px;
      width: 1px;
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
    }

    .tab-animated {
      height: 220px;
      animation: tab 15s infinite;
    }

    @keyframes tab {
      0% {
        height: 200px;
        width: 260px;
      }

      50% {
        height: 140px;
        width: 180px;
      }

      100% {
        height: 200px;
        width: 260px;
      }
    }

    /* thomas */
    .death {
      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;
      padding: 1.57rem 5% 0;
      font-style: normal;
      text-align: left;
      color: black;
      font-family: "solway", serif;
      font-size: 3.13rem;
      line-height: 1.02;
      font-weight: bold;
      border: 8px solid #000;
      border-bottom: none;
      clip-path: inset(0);
    }

p {line-height: 1.04}

    .death p {
      margin: 0 0 1em;
    }

    .thomas {
      float: left;
      margin: 4rem 0 0 -3.4rem;
      width: 800px;
      height: auto;
      shape-outside: url(https://lh3.googleusercontent.com/pw/AP1GczMk8cz_90Sa-9xH5OfzZjinYKqNmwgwADgRuG3MrlS1V83nGy8pALSNF-mnSZ18kRO9ZIuT-bpa6WUKg22Ar7H6X90W9BTV_ATzLXFz7zgEORAgxg=w800-h1215);
      shape-margin: 1rem;
    }

    .rip {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      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 0;
      font-style: normal;
      text-align: center;
      color: black;
      font-family: 'Uncial Antiqua', serif;
      font-size: 6rem;
      line-height: 1.02;
      font-weight: bold;
    }

    .up {
      marhin-top: 6rem;
      text-align: left;
      color: black;
      font-family: 'Uncial Antiqua', serif;
      font-size: 4.5rem;
      font-weight: bold;
    }
.book {
    font-style: italic;
    text-decoration: underline;
}
.roon {color: maroon}

</style>
</head>

<body>

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

    <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="#cutetab-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="#cutetab-medium" />
      </svg>
    </a>

    <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="#cutetab-medium" />
      </svg>
    </a>

</nav>

  <div class="death">
    <h1 class="begin">The Murder of Thomas Merton</h1>
    <div class="rip">
      <span>1915</span>
      <img src="https://lh3.googleusercontent.com/pw/AP1GczNK01urgiwZ_soZQU-12U29Siu-4J37H-ZvpeC3gKfz0IzceW35to0b8q7EjDHp2nXfNaPSfc1Dwary6KUrjiDl-Ldxj4xRRi9umxtZJwgtJjXgxA=w200-h300" alt="">
      <span>1968</span>
    </div>
    <p></p>
    <p>
      <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>
      <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>
      His body was flown back to the United States on board a US 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 <span class="book">The Martyrdom of Thomas Merton: An Investigation</span>, presenting the evidentiary record&rsquo;s refutation of claims of accidental electrocu-tion, and suggesting Merton was assassinated for his political opposition to the Vietnam War. A subsequent book by Turley and author John Howard Griffin &mdash; <span class="book">Thomas Merton&rsquo;s Betrayers: The Case Against Abbot James Fox</span> &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> <img class="thomas" src="https://assets.codepen.io/74047/THOMAS_MERTON_Monk-A+800.png" alt=""> 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 -->
  </div>

  <!-- this following block of code is defining the svg and can be kept out of the way anyway on the page -->

  <!-- I'm putting a div around it so that we can just hide them all from impacting on the page -->

  <div class="hide-svg">
    <!-- 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="cutetab-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://assets.codepen.io/74047/PARCHMENT-A.jpg" clip-path="url(#shape3)" />
        </g>
      </defs>
    </svg>
  </div>

</body>
</html>

Thank you Paul. I don’t know if you noticed this about the ellipse we did in The Empty Boat but there is a relationship between the shape and the movement of the words and their meaning.

I realize this probably never dawned on you but I want the words to descend down to a tight trickle: their narrowing range is adding tension to the content. Just as Merton was murdered I don’t want those last words to be a comfortable read. Jagged. Uneven. Diminishing. We’re talking about a man who was assassinated by the CIA, probably by a violent blow to the back of his head! His end wasn’t graceful. And in a way I too do not want this piece to be a “comfortable” read.

Conversely, The Empty Boat achieves just the opposite effect: the ebbing of the lines is graceful and gentle. They follow two paths that make waves of the text — did you notice? I think shape-outside is going to be used increasingly by poets for its effect upon the text. There are forces interacting here that pull other, deeper meanings out of the shape of their arrangement. This is very deep stuff!

As I said two or three times now the following image does not exist.

https://lh3.googleusercontent.com/pw/AP1GczMk8cz_90Sa-9xH5OfzZjinYKqNmwgwADgRuG3MrlS1V83nGy8pALSNF-mnSZ18kRO9ZIuT-bpa6WUKg22Ar7H6X90W9BTV_ATzLXFz7zgEORAgxg=w800-h1215

There must be the same Thomas image in this rule as you have in the html img tag.

    .thomas {
      float: left;
      margin: 4rem 0 0 -3.4rem;
      width: 800px;
      height: auto;
      shape-outside: url(https://lh3.googleusercontent.com/pw/AP1GczMk8cz_90Sa-9xH5OfzZjinYKqNmwgwADgRuG3MrlS1V83nGy8pALSNF-mnSZ18kRO9ZIuT-bpa6WUKg22Ar7H6X90W9BTV_ATzLXFz7zgEORAgxg=w800-h1215);
      shape-margin: 1rem;
    }

That image does not exist so there is no shape outside to follow and thus the text doesn’t wrap.

I’m at an extreme disadvantage in that I’m doing this on a SmartPhone Paul and I don’t have the luxury of seeing instantly the disparities between two lines. Let me try to fix this by placing the phone in landscape mode and placing the lines directly atop one another. I will make it right.

On lines 169 and 264 I have pasted in the following src path. They are now identical and still the page will not wrap:

https://lh3.googleusercontent.com/pw/AP1GczMk8cz_90Sa-9xH5OfzZjinYKqNmwgwADgRuG3MrlS1V83nGy8pALSNF-mnSZ18kRO9ZIuT-bpa6WUKg22Ar7H6X90W9BTV_ATzLXFz7zgEORAgxg=w800-h1215