2022.2

Table Of Contents
1. ClicktheAdvancedbuttonatthebottomoftheFormattingdialog.
2. UnderProperty,typeborder-collapse.
3. UnderValue,typeseparate.
4. Addapaddingtokeepthetablecellsfromstickingoutoftheroundedcorners:underProperty
typepaddingandunderValuetypeameasureforthepadding.
5. ClickOK,andclickOKagaintoclosetheFormattingdialog.
Ifthetable'sroundedcornersarestillnot(fully)visible,checkthestylesfortablecells.Tablecellscan
havetheirownbackgroundcolorandbythat,hidethetable'sbackgroundcolor-includingtherounded
corners.Tablecellscanhaveroundedcornersaswell,justasanyotherelements;seebelow.
Other elements
Toroundthecornersofelementsotherthanboxesandimages,ortohavedifferentroundingsondif-
ferentcorners,youhavetomakeuseoftheCSSproperty:border-radius;see
https://www.w3schools.com/css/css3_borders.asp.
Thisis,forexample,howyoucouldroundthecornersofaparagraph:
1. Selecttheparagraph(see"Selectinganelement"onpage174)andthenselectFormat > Para-
graphonthemenu,orright-clicktheparagraphandselectParagraphontheshortcutmenu.
2. ClicktheAdvancedbuttonatthebottomoftheFormattingdialog.
3. UnderProperty,typeborder-radius.
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261.
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; }
Page 287