2022.2

Table Of Contents
Selectingonecelliseasy:justclickinit.OrselectthetdinthebreadcrumbsorontheOutlinepane.
Tip: UsetheStylespanetoseewhichstylesapplytothecurrentlyselectedtable,roworcell.
Styling a column
InHTML,columnelementsdon'texist,onlytables,rowsandcells.
Tomakecellslooklikeacolumn,makesurethattheyarepositionedunderneatheachother-insert
emptycellsifneeded-,andthenstylethecellsasusual.
ViatheFormattingdialog
TheFormattingdialogallowsyoutochangethefont,fontsizeandcolor(see"Fonts"onpage291),the
borders(see"Border"onpage285),themarginsorcellpadding(thedistancebetweentheedgeofthe
cellanditscontent,see"Spacing"onpage296),andthebackgroundcolororimageofthetableandits
cells("Backgroundcolorand/orimage"onpage284).
ToopentheFormattingdialogforone cellorforthetable as a whole:
l
ClickinacellandchooseFormat > TableorFormat > Table Cell.
l
Right-clickitandchooseCell...orTable...fromtheshortcutmenu.
NotethatinthiscaseTablestylesthetableasawhole.WhenyouchooseTableandchangethebor-
der,forexample,thebordersofthecellsinsideitwillnotbechanged.
Tostyleall cellsinatableorrowatthesametimeviatheFormattingdialog,youhavetoselectthe
tableorrowfirst;see"Selectingatable,roworcell"onthepreviouspage.Next,toopentheFormatting
dialog,chooseFormat > Table Cell.Thesettingsthatyoumakenowwillbeappliedtoallcellsinthe
selectedrowortable.
Forinformationaboutspecificoptionsintheformattingdialogs,see"TableFormattingdialog"on
page495and"TableCellFormattingdialog"onpage499.
Viaastylesheet
CascadingStyleSheets(CSS)offermorewaystostyleatableanditscontents,thantheFormatting
dialogdoes.
Howtousestylesheetsisexplainedinanothertopic;see"StylingtemplateswithCSSfiles"on
page261.
Notethattomakeastyleruleapplytoaspecifictable,roworcell,youhavetoaddanIDorclassto
thattable,roworcell.
Astylesheetcontainsabunchofstylerulesfordifferentelements,thatareidentifiedviaaCSS
selector.Thiscanbetheelement'sHTMLtag(withoutanglebrackets),anattribute,itsID,oraclass.
Page 279