2022.2

Table Of Contents
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.
3. ChoosewhichCSSfilesshouldbeappliedtothissection.Theavailablefilesarelistedattheleft.
Usethearrowbuttonstomovethefilesthatshouldbeincludedtothelistattheright.
4. YoucanalsochangetheorderinwhichtheCSSfilesareread:clickoneoftheincludedCSSfiles
andusetheUpandDownbuttons.Notethatmovingastylesheetupinthelistgivesitless
weight.Incaseofconflictingrules,stylesheetsreadlaterwilloverridepreviousones.
Note: Stylesheetsareappliedintheorderinwhichtheyareincludedinasection.Thestylesin
eachfollowingstylesheetadduptothestylesfoundinpreviouslyreadstylesheets.Whenstyle
sheetshaveaconflictingruleforthesameelement,classorID,thelaststylesheet‘wins’and
overridestherulefoundinthepreviousstylesheet.
Note: Stylesheetsthatarelinkedto(i.e.includedin)asectionshowachainiconinthe
Resourcespane(see"Resourcespane"onpage521).
Howtodeterminewhichstylesareapplied
Toseewhichstylesareappliedtoanelement,selecttheelement(see"Selectinganelement"on
page174)andtakealookattheStylespanethatsitsnexttotheAttributespane.
Tip: Contentaddedbyascriptisn'tvisibleinDesignmode,butisvisibleandcanbeinspectedin
Previewmode.
TheStylespaneshowswhichCSSstylerulesapplytothecurrentlyselectedelement.
Alinknexttoastylerulewillopenthefilewherethatparticularstyleisdefined.Thiscanbeeithera
CSSfileorthesourcefileofasectioniflocalformattingwasused(see"Stylingandformatting"on
page260).
Acrossed-outstylerulesignalsthatitwasoverruledbyanotherstylerule.Thishappenswhen:
Page 268