2022.2

Table Of Contents
Nestingtables(puttingtablesintablecells)andapplyingCSSstylestoeachtablecelltomakethe
emaillookgoodonallscreensizesisaprecisionworkthatcanbeatediousanddemanding.Connect's
DesigneroffersthefollowingtoolstomakedesigningHTMLemaileasier.
Email templates: Slate and others
ThemostobvioussolutionofferedintheDesigneristouseoneofthetemplatesprovidedwiththe
Designer;see"CreatinganEmailtemplatewithaWizard"onpage475.Thelayoutofthesetemplates
hasbeentestedandproventolookgoodinanyemailclient,onanydeviceandscreensize.TheTables
inthesetemplatesarenested(putinsideanothertable)andtheyhavenovisibleborders,soreaders
won'tnoticethem.
Tip: ClicktheEdgesbuttononthetoolbartomakebordersofelementsvisibleontheDesigntab.
TheborderswillnotbevisibleonthePreviewtaborintheoutput.
Litmus
Thereareseveraltoolstopreviewhowemailwillberenderedonavarietyofclients.Werecommend
usingLitmus.SupportforLitmusisintegratedintotheDesigner;theSendTestEmaildialoghasan
optionto"SendtoLitmus".
Emmet
Emmetisapluginthatenablesthelightning-fastcreationofHTMLcodethoughtheuseofasimpleand
effectiveshortcutlanguage.TheEmmetfunctionalityisavailableintheHTMLandCSSsourceeditors
ofConnectDesigner.EmmettransformsabbreviationsforHTMLelementsandCSSpropertiestothe
respectivesourcecode.TheexpansionofabbreviationsisinvokedwiththeTabkey.
IntheSourcetaboftheWorkspace,youcouldforexampletypediv.row.Thisistheabbreviationfora
<div>elementwiththeclassrow.
OnpressingtheTabkey,thisabbreviationistransformedto:
<div class="row"></div>
ToquicklyenteratablewiththeID'green',onerow,andtwocellsinthatrow,type:
table#green>tr>td*2
OnpressingtheTabkey,thisistransformedto:
<table id="green">
<tr>
<td></td>
<td></td>
</tr>
</table>
Page 473