1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java Thu Jan 31 19:19:40 2013 -0800 1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java Thu Jan 31 19:31:37 2013 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -196,10 +196,7 @@ 1.11 protected void addOverviewComment(Content htmltree) { 1.12 if (root.inlineTags().length > 0) { 1.13 htmltree.addContent(getMarkerAnchor("overview_description")); 1.14 - HtmlTree div = new HtmlTree(HtmlTag.DIV); 1.15 - div.addStyle(HtmlStyle.subTitle); 1.16 - addInlineComment(root, div); 1.17 - htmltree.addContent(div); 1.18 + addInlineComment(root, htmltree); 1.19 } 1.20 } 1.21 1.22 @@ -211,7 +208,7 @@ 1.23 */ 1.24 protected void addOverview(Content body) throws IOException { 1.25 HtmlTree div = new HtmlTree(HtmlTag.DIV); 1.26 - div.addStyle(HtmlStyle.footer); 1.27 + div.addStyle(HtmlStyle.contentContainer); 1.28 addOverviewComment(div); 1.29 addTagsInfo(root, div); 1.30 body.addContent(div);