I have a Web page where the CSS overflow is set to auto. The scroll bar appears when overflow occurs, but it lets me scroll only to the right. It won't scroll left, so there's no way to see the clipped portion on the left side. NOTE: This is not a duplicate of other posts dealing with vertical scrolling. My problem is with horizontal scrolling.
The URL:
http://www.hymntime.com/tch/bio/h/a/v/havergal_fr.htm
The HTML:
<div id="preface">
<div>
<figure><img alt="portrait" src="../../../../img/h/a/v/havergal_fr3.jpg"></figure>
</div>
<div style="min-width: 15em;">
<p id="birth">December 14, 1836,
<span class="map" onclick='show("Astley,Worcestershire DY13,UK")'>Astley</span>, Worcestershire, England.
</p>
<p id="death">June 3, 1879,
<span class="map" onclick='show("Caswell Bay,UK")'>Caswell Bay</span> (near Swansea), Wales.
</p>
<p id="burial">
<span class="map" onclick='show("52.306124,-2.312777")'>Priory Church of St. Peter</span>, Astley, Worcestershire, England. On her tombstone was the Scripture verse she claimed as her own:
</p>
<blockquote>
<p>The blood of Jesus Christ cleanseth us from all sin.<br>1 John 1:7</p>
</blockquote>
</div>
<div>
<figure><img alt="portrait" src="../../../../img/h/a/v/havergal_fr_4.jpg"></figure>
</div>
<div>
<figure><img alt="portrait" src="../../../../img/h/a/v/havergal_fr_2.jpg"></figure>
</div>
</div>
The style sheet:
#preface {
border-top: 2px solid black;
display: flex;
overflow: auto;
justify-content: center;
align-items: center;
padding-top: 2ex;
padding-bottom: 2ex;
}
#preface .copyright, preface .license { text-align: center; }
#preface > div > p { margin: 1em; }
#preface figure { margin-left: .5em; margin-right: .5em; }
#preface img { border: 8px ridge silver; border-radius: 20px; }
#preface ul { padding-left: 3em; }
.preface-text {min-width: 15em}
}
I'm new to using flex boxes, so I suspect I've made a simple mistake, but I can't see what's wrong.