2022.2

Table Of Contents
DeletinganEmailtemplate
TodeleteanEmailsection:
l
OntheResourcespane,expandtheContextsfolder,expandtheEmailcontext,right-clickthe
nameofthesection,andthenclickDelete.
Caution: Ifyoudon'thaveabackupofthetemplate,theonlywaytorecoveradeletedsection,is
toclickUndoontheEditmenu,untilthedeletedsectionisrestored.Afterclosingandreopening
thetemplateitisnolongerpossibletorestorethedeletedcontextthisway.
IntheSavingPreferencesyoucansetwhetherabackupfileshouldbecreatedwhenyousave
thetemplate;see"Savepreferences"onpage365.
StylingandformattinganEmailtemplate
ThecontentsofanEmailsectioncanbeformatteddirectly,orstyledwithCascadingStyleSheets
(CSS).See"Stylingandformatting"onpage260.
EmailclientsdonotreadCSSfilesandsomeevenremovea<style>tagwhenitispresentinthe
email'sheader.Nevertheless,CSSfilescanbeusedwiththeEmailcontextintheDesigner.
WhengeneratingoutputfromtheEmailcontext,allCSSrulesthatapplytothecontentoftheemailcan
beprocessedandaddedeithertotheheaderoftheemailortoinlinestylepropertiesasiflocalformat-
tingwasapplied,dependingontheEmailsectionproperties.See"Emailsectionproperties"on
page483.
Tip: Beforeyoucanstyleanelement,youhavetoselectit.InanEmailcontextitcanbedifficult
toselectanelementbyclickingonit.UsethebreadcrumbsatthetopandtheOutlinepaneat
theleft,toselectanelement.See"Selectinganelement"onpage174.
Inorderforastylesheettobeappliedtoaspecificsection,itneedstobeincludedinthatsection.
Therearetwowaystodothis.
Drag & drop a style sheet
1. ClickandholdthemousebuttononthestylesheetontheResourcespane.
2. MovethemousecursorwithintheResourcespanetothesectiontowhichthestylesheetshould
beapplied.
3. Releasethemousebutton.
Using the Includes dialog
1. OntheResourcespane,right-clickthesection,thenclickIncludes.
2. FromtheFile typesdropdown,selectStylesheets.
Page 160