2022.2

Table Of Contents
languagecodesaredefinedbyISO-639-1.The2-lettercountrycodeisdefinedbyISO
3166.Itisallowedtouseanunderscoreinsteadofahyphen(de_DE,zh_CN,fr_CA,fr_
FR,etc).
3. ClickOKtoapplythesetting.Thesettingwillbesavedwiththetemplate.
Spacing
Boxes,tables,paragraphsandmanyotherelementshaveamarginandpadding.
Themarginisthewhitespacearoundanelement,outsidetheborder.Itisusedtopositionanelement
inrelationtotheotherelements,byputtingmorespacebetweentheelementanditssurroundingele-
ments.
Thepaddingisthespacebetweenanelement'scontentanditsborder.Itisusedtopositionthecontent
oftheelementinsidetheborder.
Elementshavearectangularshape,sotheyhavefoursides.Themarginandpaddinghavebedifferent
onallsides.
Tip: Useanegativeleftmargintocreateahangingparagraphorimage.
Tosetthespacing:
1. Right-clicktheelementandclicktherespectiveelementontheshortcutmenu.
Alternatively,selecttheelement(see"Selectinganelement"onpage174)andontheFormat
menuclicktherespectiveelement.
2. ClicktheSpacingtab.
Note: AllsettingsintheFormattingdialogareinfactCSSstylerules.ClicktheAdvanced
buttontomanuallyaddCSSproperties(attheleft)andvalues(attheright).Formore
informationaboutCSS,see"Stylingandformatting"onpage260.
Itisalsopossibletochangeanelement'sformattingviaastylesheet;see"Stylingtem-
plateswithCSSfiles"onpage261.
3. Setthevalueforthepaddinginmeasureorpercentage.Youcandothisforeachsidesep-
arately,whichisequivalenttothepadding-top,padding-bottom,padding-leftorpadding-
rightpropertyinCSS.Tosetthesamepaddingforallsides,checktheoptionSame for all
sides.ThisisequivalenttothepaddingpropertyinCSS.
4. Setthevalueforthemargininmeasureorpercentage.Youcandothisforeachsideseparately,
whichisequivalenttothemargin-top,margin-bottom,margin-leftormargin-rightpropertyin
CSS.Tosetthesamemarginforallsides,checktheoptionSame for all sides.Thisis
Page 296