2022.2

Table Of Contents
Pulling an image out of the text flow
Whendraggedintoatemplate,animageisautomaticallyintegratedinthetextflow.Thismeansthatit
willmoveupordown,dependingontheprecedingtext.
InaPrintsection,topositiontheimageindependentlyofthetextflow,youcanchangeitsposition
propertytoabsolute.(Foranexplanationofallpossiblevaluesforthisproperty,see
https://www.w3schools.com/css/css_positioning.asp.)
WhenanimageisplacedinsideaBox(orDivelement),changingitspositionpropertytoabsolute
positionstheimageabsolutelyinsidethatBox.
Notethatfloat,thepropertythatcanmakeanimagefloattotherightorleft(see"Wrappingtext
aroundanimage"onthepreviouspage),isarelativepositioningproperty,sinceitspecifiestheposition
oftheelementrelativetoitscontainer.Thismeansitisincompatiblewiththeposition:absolute
property.
IntheFormattingdialog(see"Applyinglocalformattingtoanimage"onpage693)thepositionprop-
ertycanbefoundontheImagetab,underPositioning.
Thepositionpropertyisn'tpresentinoneofthetabmenusofthestyleruleeditordirectly,butyou
canadditafterclickingtheAdvancedbuttoninthestyleruleeditor(see"Applyingstylerulestoan
image"onpage693).
Whenthepositionpropertyofanelementissettoabsolute,thetoporbottomandleftor
rightpropertiescanbeusedtopositiontheelementinsideitsparentwithexactvalues(pixels(px),
centimeters(cm),etc).Negativevaluesareallowed.
Note: InWebsections,thepositionpropertymaysometimesbeusefulforimagesinsideaDiv
element,butgenerallyelementsshouldnotbepositionedabsolutely.DesignsfortheWebshould
beflexiblesothattheydisplaynicelyonavarietyofdevicesandscreensizes.
Background color and/or image
Inanytypeoftemplate,boxes,tablesandtablecellscanhaveabackgroundcolorand/orabackground
image.
Toselectabackgroundimageorcolor:
1. Right-clicktheboxandclickBoxontheshortcutmenu.
2. Alternatively,selectthebox(see"Selectinganelement"onpage570;notethataBoxisa<div>
element)andontheFormatmenuclickBox.
3. ClicktheBackgroundtab.
Todefineabackground color:
ClickthedownwardpointingarrownexttoColortoselectacolorfromthelistofpredefinedcolors(see
"Backgroundcolorand/orimage"above).
Page 695