diff --git a/src/cmd/compile/internal/ssa/html.go b/src/cmd/compile/internal/ssa/html.go
index b7d5f912db..499fda5af5 100644
--- a/src/cmd/compile/internal/ssa/html.go
+++ b/src/cmd/compile/internal/ssa/html.go
@@ -109,6 +109,12 @@ code, pre, .lines, .ast {
font-size: 12px;
}
+pre {
+ -moz-tab-size: 4;
+ -o-tab-size: 4;
+ tab-size: 4;
+}
+
.allow-x-scroll {
overflow-x: scroll;
}