2022.2

Table Of Contents
Applying local formatting to an image
Toapplylocalformattingtoanimage,either:
l
right-clicktheimageandselectImage...fromthecontextualmenu
l
clicktheimageandselectFormat > Image...fromthemenu.
Foranexplanationoftheavailableoptions,see"ImageFormattingdialog"onpage445.
Applying style rules to an image
Toformatanimageviaastyle sheet,firstgivetheimageanIDorclass:selecttheimage,andenter
theIDorclassontheAttributespane.ThismakesitpossibletomaketheCSSstyleruletargetthis
imagespecifically,orasetofimageswiththesameclass.Astylerulewiththeselectorimg(theHTML
imagetag)wouldapplytoallimages.
Next,createthestylerule;see"StylingtemplateswithCSSfiles"onpage261.Notethatwhenaprop-
ertyisn'tpresentinthestyleruleeditor,itcanstillbeused:clicktheAdvancedbuttoninthestylerule
editor;enterthepropertyunderProperty,anditsvalueunderValue.
Resizinganimage
Thereareseveralwaystoresizeanimageafterinsertingitinthecontentofatemplate.
l
Clicktheimageanddragthehandlestoresizeit.PresstheShiftkeywhiledragging,toscalethe
imageproportionally.
l
Selecttheimage(see"Selectinganelement"onpage174)andtypethedesiredwidthandheight
intherespectivefieldsontheAttributespane.
l
SelecttheimageandselectFormat > Image,onthemenu.OntheImagetab,changethewidth
andheightoftheimage.
l
Setthesizeoftheimageinastylesheet(see"StylingtemplateswithCSSfiles"onpage261).
Thesizecanbesetinameasureorasapercentageofthecontainingelement.
Reset the image size
Toresetanimagetoitsoriginalsize,selecttheimageandclicktheReset Image Sizebuttononthe
Attributespane,underGeometry.
Positioninganimage
Wrapping text around an image
Initially,whenanimageisinsertedintoaparagraph,itbehavesasifitwereacharacter.Textisn't
wrappedaroundanimageautomatically.Tomakethathappen,youhavetochangethefloatprop-
ertyoftheimagetoleftorright.Thisanchorstheimagetotheleftorright,allowingtexttobe
Page 282