diff --git a/htmlreport/cppcheck-htmlreport b/htmlreport/cppcheck-htmlreport index 1a141f55b..3d998f75f 100755 --- a/htmlreport/cppcheck-htmlreport +++ b/htmlreport/cppcheck-htmlreport @@ -36,14 +36,15 @@ body { #page { - width: 860px; - margin: auto; - border-left: 2px solid #aaa; - border-right: 2px solid #aaa; + width: auto; + margin: 30px; + border: 2px solid #aaa; background-color: white; padding: 20px; + overflow: auto; } + #header { width: 100%; height: 70px; @@ -55,7 +56,7 @@ body { text-align: left; float: left; width: 100px; - height: 300px; + height: auto; } #menu > a { @@ -65,12 +66,18 @@ body { #content { float: left; - width: 720px; + width: 80%; margin: 5px; padding: 0 10px 10px 10px; border-left: thin solid #aaa; } +.linenos { + color: #bbb; + padding-right: 6px; + border-right: thin solid #aaa; +} + #footer { padding-bottom: 5px; padding-top: 5px; @@ -119,7 +126,7 @@ HTML_FOOTER = """ """ -HTML_ERROR = "<--- %s\n" +HTML_ERROR = "<--- %s\n" class AnnotateCodeFormatter(HtmlFormatter):