2022.2

Table Of Contents
Foranexplanationofallvaluesthatthepositionpropertycanpossiblyhave,see
https://www.w3schools.com/css/css_positioning.asp.
Where to use it
InPrintsections,settingthepositionpropertytoabsolutecanbeveryuseful.Ittakestheelement
outofthetextflow,sothattheelementstayswhereitisonthepage.OnMasterPages(whichareonly
usedinPrintsections)elementsarealwayspositionedabsolutely;ifnot,theymustbelocatedinsidean
elementthathasanabsoluteposition.
InEmailsections,donotusethisproperty.UseTablesinstead(see"DesigninganEmailtemplate"on
page151and"Table"onpage244).
How to use it
IntheFormattingdialogthepositionpropertycanoftenbefoundonthefirsttab,underPositioning.
ToopentheFormattingdialog,right-clicktheelementandclicktherespectiveelementontheshortcut
menu.Alternatively,selecttheelement(see"Selectinganelement"onpage174)andontheFormat
menuclicktherespectiveelement.
Thispropertyisn'tpresentinoneofthetabmenusofthestyleruleeditor,butyoucanadditandspecify
avalueafterclickingtheAdvancedbuttoninthestyleruleeditor(see"StylingtemplateswithCSSfiles"
onpage261).
AbouttheCSSdisplayproperty
ThedisplaypropertyisoneofthemostimportantCSSpropertiesforcontrollinglayout.Yetitis
unlikelythatyouwilluseitoftentopositionelementsinatemplate:inmostcases,theinitialvalueofthe
displaypropertyforanelementwillbetherightone.
Itismorelikelythatyouwillusethispropertyinstylesheetsandscriptstohidecertainelements,byset-
tingthevalueofthispropertytonone(display: none;).(See"StylingtemplateswithCSSfiles"on
page261and"Writingyourownscripts"onpage368.)
Foranonlinetutorialaboutthisproperty,seew3schoolswebsite.
Rotating elements
Inanytypeoftemplate,boxes,images,tables,textandotherelementscanberotated.
ThetoolbarbuttonsRotate ClockwiseandRotate Counter Clockwiserotatetheelementinwhich
thecursorislocated90degreesatatime.
Torotateanelementintoanotherangleposition,usethe'angle'CSSpropertyoftheelement.Inmost
cases,thiscanbedoneintheelement'sFormattingdialog.Inothercases,suchaswithtext,youhave
toentertheCSSpropertyandvaluemanually.Bothmethodsareexplainedinthefollowingprocedure.
Page 277