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
34
<!DOCTYPE html>
<!--
Hack for displaying a vertical line at 80 characters in a textarea, like
display-fill-column-indicator-mode in Emacs or colorcolumn in Vim.
-->
<html>
<head>
<style>
.container {
position: relative;
font-family: monospace;
}
.container hr {
position: absolute;
top: 0;
left: 80ch;
width: 1px;
height: 97%;
border: none;
background-color: #bfbfbf;
}
</style>
</head>
<body>
<div class="container">
<textarea rows="25" cols="100"></textarea>
<hr>
</div>
</body>
</html>