Index: modules/book.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/book.module,v
retrieving revision 1.216
diff -u -r1.216 book.module
--- modules/book.module	15 Feb 2004 20:09:46 -0000	1.216
+++ modules/book.module	6 Mar 2004 18:25:42 -0000
@@ -694,7 +694,7 @@
       if (node_hook($node, "content")) {
         $node = node_invoke($node, "content");
       }
-      $output .= "<h1 id=\"$node->nid\" name=\"$node->nid\" class=\"book-h$depth\">$node->title</h1>";
+      $output .= "<h1 id=\"$node->nid\" name=\"$node->nid\">$node->title</h1>";
 
       if ($node->body) {
         $output .= $node->body;
@@ -707,7 +707,7 @@
   $html = "<html><head><title>$node->title</title>";
   $html .= "<base href=\"$base_url/\" />";
   $html .= "<style type=\"text/css\">\n@import url(misc/print.css);\n</style>";
-  $html .= "</head><body>". $output ."</body></html>";
+  $html .= "</head><body><div id=\"book-main\">". $output ."</div></body></html>";
 
   return $html;
 }
@@ -729,7 +729,8 @@
       if (node_hook($node, "content")) {
         $node = node_invoke($node, "content");
       }
-      $output .= "<h1 id=\"$node->nid\" name=\"$node->nid\" class=\"book-h$depth\">$node->title</h1>";
+      $h = $depth+1;
+      $output .= "<h$h id=\"$node->nid\" name=\"$node->nid\">$node->title</h$h>";
 
       if ($node->body) {
         $output .= "<ul>". $node->body ."</ul>";
