<!DOCTYPE html>
<html>
<head>
    <style>
        th, td {
            border: 1px solid black;
        }

        table {
            border: 30px solid green;
            background-color: blue;
        }

        caption {
            background-color: gray;
            width: 500px;
        }

        div.beforeOrAfter {
            border: 1px solid black;
        }

        div.lastOnThePage {
            border: 1px solid black;
            page-break-after: always;
        }

    </style>
</head>
<b