Image Borders

Add borders to images.

Overview

Resource location:@import url("https://jorsek.github.io/pdfgen.github.io/styles1.1/modules/styling/image_borders.css");
Figure 1. An image with a border
image borders enabled

DITA Outputclass Attributes

This module enables you to set the following @outputclass attributes in the DITA source:

no_borders
To disable image borders, assign the @outputclass="no_borders" attribute to an image element.
image borders disabled

Common Customizations

You can apply customizations by pasting the following code snippets under the @import rules.

Change the image borders style
image borders custom
/* Change the image borders style. */
.image,
.body img {
    border: 2px dotted teal;
    padding: 2.5px;
}