%META:TOPICINFO{author="ProjectContributor" date="1282866473" format="1.1" version="1"}%
%META:TOPICPARENT{name="PatternSkinCssCookbook"}%
---+!! PatternSkinCssCookbook Recipe: Sidebar background color
To see if the background color really extends beyond the body, we make the body contents longer than the sidebar.

Note that to set the background color, we set both =patternWrapper= and =patternSideBar=:
<verbatim class="css">
#patternWrapper,
#patternSideBar {
	background-color:#eee;
}
</verbatim>

<div class="foswikiHelp">
This line loads the extra style definition:
<verbatim class="tml">
   * Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookSidebarBackground/sidebar.css
</verbatim>
You can write this line in %SYSTEMWEB%.DefaultPreferences, in %USERSWEB%.SitePreferences, in WebPreferences, in your user topic, or on a single page.
</div>
<!-- %JQREQUIRE{"chili"}% -->

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

dummy content to make this page longer

<!-- %JQREQUIRE{"chili"}% -->
%META:FILEATTACHMENT{name="sidebar.css" attr="" comment="css to give the sidebar a background color" date="1282772512"}%

