Next / Previous / Contents / NM Tech homepage

10.4.2. pre.programlisting and pre.screen

These block elements are to be set verbatim in monospaced type. We add a light gray screen so that these are visually distinct from ordinary text. We also enclose them in a hairline border and add a bit of padding.

pre.programlisting, pre.screen
{   background-color: #e0e0e0;
    border: 1px solid;
    padding: 5px;