Image Borders

Add borders to images.


Resource location:@import url("");
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:

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. */
.body img {
    border: 2px dotted teal;
    padding: 2.5px;