2022.2

Table Of Contents
item.
Imagescanbestyledusingthesamedialog,orthroughtheCSSfiles;see"StylingtemplateswithCSS
files"onpage261.
Anumberofissuesrelatedtoimagestylingarediscussedinaseparatetopic:"Stylinganimage"on
page281.
Justlikemanyotherelements,imagescanbegivenbordersandroundedcorners,theycanhaveinner
andoutermarginsandtheycanberotated.Howtodothisisdescribedingeneralformattingtopics,
suchas"Border"onpage285and"Spacing"onpage296.Allgeneralformattingtopicsarelistedunder
"Stylingandformatting"onpage260.
Note: ItisrecommendedtoresizeimagesoutsideoftheDesigner,withimageeditingsoftware.
Settinganalternatetext
Onceanimagehasbeeninsertedinthecontentofatemplate,itcanhaveanalternatetext.
Thealternatetextwillbeshowninemailsatthepositionoftheimagewhiletheimageisloadingand
whentheimageisnotfound.
Tosetanalternativetext,clicktheimageandenterthealternatetextintheAlternate textfieldonthe
Attributespaneatthetopright.
UsingaCSSgradienttocreateanimage
CSSgradientsareanewtypeofimageaddedintheCSS3ImageModule.CSSgradientsletyoudis-
playsmoothtransitionsbetweentwoormorespecifiedcolors,whilerepeatinggradientsletyoudisplay
patterns.Thisway,usingimagefilesfortheseeffectscanbeavoided,therebyreducingdownloadtime
andbandwidthusage.Inaddition,objectswithgradientslookbetterwhenzoomedinabrowser,and
youcanadjustyourlayoutwithmuchmoreflexibility.
FormoreinformationaboutthevarioustypesofCSSgradientsandhowtousethem,see
https://developer.mozilla.org/docs/Web/CSS/CSS_Images/Using_CSS_gradients.
Note: WhenCSSrepeatinggradientsaredisplayedinaPDFreader,artifacts,likeverythinlines
mayoccur.Whenthishappens,trysettingthegradient'spositionalittlebitdifferent.
Table
Tablesservetwodifferentpurposes:theyareawaytodisplaydatainatabularformat,andtheyare
alsoawaytopositionelementsonapage.
InHTMLemail,Tablesarethemostreliablewaytopositiontextandimages;see"DesigninganEmail
template"onpage151.Inwebpages,ontheotherhand,InlineBoxesarethepreferredwaytoposition
elements.Tablesshouldonlybeusedtodisplaydatainatabularformat,nottopositiontextand
Page 244