2022.2

Table Of Contents
4. UnderValue,typethevalueofthecornerradiusinameasure(10mm,5px,0.5in)orpercentage
(0-90%).
5. ClickOK,andclickOKagaintoclosetheFormattingdialog.
Using a CSSfile
OfcourseyoucouldalsoaddthisruletoaCSSfile;see"StylingtemplateswithCSSfiles"onpage672.
Thefollowingrulesetstheborder-radiusofthecornersofallparagraphsto5pixels:
p { border-radius: 5px; }.
Tomakethisruleapplytoonespecificparagraph,firstgivetheparagraphanID(selecttheparagraph
andtypetheID,forexamplerounded,ontheAttributespane).ThenaddtheIDtotheselectorofthe
CSSrule,forexample
p#rounded { border-radius: 5px; }
TomaketheCSSruleapplytoasetofparagraphswiththesameclass,firstgivetheparagraphsthe
sameclass(forexamplerounded).ThenaddthatclasstotheselectoroftheCSSrule,forexample
p.rounded { border-radius: 5px; }.
Colors
Colorsmakeanimportantcontributiontothelookandfeelofyourtemplates.Thistopicexplainshowto
defineandapplycolorsandhowtokeepthemconsistentindifferentoutputchannels.
Definingcolors,spotcolorsandtints
Colorselectors,suchasthedrop-downlistonthetoolbar,initiallycontainasmallsetofcolors.Add
yourowncolorssothattheycanbeusedthroughoutthetemplates,inallcontextsandincolorselector
dialogsaswellaswiththeirnamesinstylerules(see"Stylingandformatting"onpage671).
Defining colors
Todefinecolors:
1. SelectEdit > Colorsonthemenu.
2. Addacolor.Therearetwowaystodothis:
Page 699