2021.2

Table Of Contents
target this image specifically, or a set of images with the same class. A style rule with the
selector img (the HTML image tag) would apply to all images.
Next, create the style rule; see "Styling templates with CSS files" on page747. Note that when
a property isn't present in the style rule editor, it can still be used: click the Advanced button in
the style rule editor; enter the property under Property, and its value under Value.
Resizing an image
There are several ways to resize an image after inserting it in the content of a template.
l Click the image and drag the handles to resize it. Press the Shift key while dragging, to
scale the image proportionally.
l Select the image (see "Selecting an element" on page638) and type the desired width
and height in the respective fields on the Attributes pane.
l Select the image and select Format > Image, on the menu. On the Image tab, change the
width and height of the image.
l Set the size of the image in a style sheet (see "Styling templates with CSS files" on
page747).
The size can be set in a measure or as a percentage of the containing element.
Reset the image size
To reset an image to its original size, select the image and click the Reset Image Size button
on the Attributes pane, under Geometry.
Positioning an image
Wrapping text around an image
Initially, when an image is inserted into a paragraph, it behaves as if it were a character. Text
isn't wrapped around an image automatically. To make that happen, you have to change the
float property of the image to left or right. This anchors the image to the left or right,
allowing text to be wrapped around it.
Select the image (see "Selecting an element" on page638) and use the (Float left) and
(Float right) icons on the toolbar to change the position of an image within the text.
l The Float left button aligns the image to the left. The text is positioned to the right of it and
is wrapped around the box.
Page 773