2022.2

Table Of Contents
Note: Itisalsopossibletosetanelement'sbackgroundinastylesheet;see"Stylingtemplates
withCSSfiles"onpage672.WhenreferringtoimagesorfontsfromaCSSfile,refertoapath
thatisrelativetothecurrentpath,whichiscss/.Forexample:#header { background-image:
url('../images/image.jpg'); }.
Border
Inanytypeoftemplate,boxes,tablesandtablecells,paragraphs,imagesandotherelementscanhave
aborder.
Elementshavearectangularshape,sotheirborderhasfoursides.Eachsideofthebordercanhavea
differentlayout.
Addingaborder
1. Right-clicktheelementandclicktherespectiveelementontheshortcutmenu.
Alternatively,selecttheelement(see"Selectinganelement"onpage570)andontheFormat
menuclicktherespectiveelement.
2. ClicktheBordertab.
3. UnchecktheoptionSame for all sidestobeabletostyleeachsideoftheborderseparately.
4. Specifythewidthoftheborder(side).Thisisequivalenttotheborder-widthpropertyinCSS.
5. Specifythestyleoftheborder(side),suchassolid,dashedordotted.Thisisequivalenttothe
border-stylepropertyinCSS.
6. Specifythecoloroftheborder(side):selectanamedcolor(definedinthe"ColorsProperties"on
page879)fromthedrop-down,orclickthecoloredsquaretoopentheColorPickerdialog("Color
Picker"onpage878).AlternativelyyoucouldtypeanameorvalueintheColorfielddirectly.It
mustbeapredefinedCSScolorname(CSScolornames),ahexadecimalcolorcode(HTMLHex
Color),anRGBcolorvalue,forexamplergb(216,255,170)oraCMYKcolorvalue,for
examplecmyk(15%, 0%, 33%, 0%).
Thissettingisequivalenttotheborder-colorpropertyinCSS.
Note: Itisalsopossibletosetanelement'sborderinastylesheet;see"Stylingtemplateswith
CSSfiles"onpage672.
Roundingcorners
Anyelementinatemplatecanhaveroundedcorners.Forboxesandimages,thisoptionisavailablein
theFormattingdialog.Forotherelements,youhavetocreateaCSSruletosettheborder-radiusof
theelement(orclassofelements).
Page 697