2022.2

Table Of Contents
l
TheFloat leftbuttonalignstheInlineBoxtotheleft.Thetextispositionedtotherightofitandis
wrappedaroundthebox.
l
TheFloat rightbuttonalignstheInlineBoxtotheright,withthetextwrappedaroundittotheleft.
l
TheNo floatbuttonpositionstheInlineBoxwhereitoccursinthetext.
ItisnotpossibletomoveanInlineBoxusingdraganddrop.TomovetheInlineBoxtoanotherposition
inthetext,youhavetoedittheHTMLontheSourcetabintheWorkspace,movingthe<div>element
usingcutandpaste.ToopentheSourcetab,clickit(atthebottomoftheWorkspace)orselectView >
Source View.
Span
TheSpanelement(<span>inHTMLcode)isusedtogroupinlineelements,suchastextinapara-
graph.ASpandoesn'tprovideanyvisualchangebyitself,butitprovidesawaytotargetitscontentina
scriptorinastylesheet.
Towrapcontentinaspan,selectthetextandotherinlineelementsandclickInsert > Wrap in Spanon
themenu.GivethespananIDifyouaregoingtoaddastyleruleorscriptforitthatisuniquetothis
span;orgivethespanaclassifthisspancanbetargetedbyastyleorscriptalongwithotherpiecesof
content.Nowyoucanusethewrapper'sIDorclassasascript'sorstyle'sselector;see"UsingtheText
ScriptWizard"onpage729and"Stylingandformatting"onpage671.
Div
TheDivistheelementusedtocreatebothPositionedBoxesandInlineBoxes.Bydefault,aDivele-
mentreactsprettymuchlikeaparagraph(<p>)oraninlineboxsetto'nofloat'exceptthatitcanberes-
izeddirectly.JustlikePositionedBoxesandInlineBoxes,DivelementscanbestyledusingtheFormat
> Boxmenuitem,throughtheCTRL+MkeyboardshortcutorthroughtheCSSfiles;see"Stylingand
formatting"onpage671and"StylingtemplateswithCSSfiles"onpage672.
Adding a Div element
ToaddaDiv,selectInsert > Structural Elements > Divonthemenu.Foranexplanationofthe
options,see"Insertinganelement"onpage569.
HTMLtag:div,span
Whenyouaddelements,suchastext,imagesoratable,tothecontentofatemplate,youareactually
constructinganHTMLfile.ItispossibletoeditthesourceoftheHTMLfiledirectlyintheDesigner;see
"EditingHTML"onpage568.
InHTML,boxesare<div>elements.Spansare<span>elements.Tolearnhowtochangetheattrib-
utesofelements,see"Attributes"onpage568.
Page 625