Defining multiple layouts

The Example references some "<div>" with css classes "sidebar tags", "sidebar toc" and "sidebar links"

Did not see these css classes in application/css folder. Layout does not change to include the sidebars when the page(s) are loaded. Is there a css layout file that goes with the book?

2143

YiiCookbookMultiLayouts.gif

No, CSS isn’t included for this recipe. There are a lot of techniques you can use to position these elements. The simplest possible that cames into my mind is something like:




.sidebar {

  float: right;

  width: 200px;

}