1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
<style>
div {
height: 50px;
width: 110px;
margin: 10px 0;
padding: 10px;
border: solid black;
font-size: 25px;
}
div.columns {
-webkit-columns: 2;
-webkit-column-gap: 10px;
}
div.scroll {
overflow-y: scroll;
}
</style>
<p>
In Safari, choose Edit > Find > Find, and type the strings “xyz”
and “123”. The white “holes” in the Find overlay
should line up with the matching text below.
</p>
<div class="columns">
<br>xyz
</div>
<div class="scroll" id="scroll">
<br><br>123<br><br>
</div>
<script>
document.getElementById("scroll").scrollTop = 100;
</script>
|