Mercurial > hg
diff templates/header.tmpl @ 1336:8c094fb47b59
hgweb file: fixed left-justified line numbers on IE v6.0
IE (v6.0) seemed to squash the spaces surrounding the line
numbers, making them appeared as left- instead of being
right-justified.
Testing with IE v6.0 and Firefox 1.0.6.
author | TK Soh <teekaysoh@yahoo.com> |
---|---|
date | Fri, 23 Sep 2005 17:19:35 -0700 |
parents | 0843e1bf2b97 |
children | 90b62337f8dd |
line wrap: on
line diff
--- a/templates/header.tmpl Fri Sep 23 17:15:36 2005 -0700 +++ b/templates/header.tmpl Fri Sep 23 17:19:35 2005 -0700 @@ -8,7 +8,8 @@ a { text-decoration:none; } .parity0 { background-color: #dddddd; } .parity1 { background-color: #eeeeee; } -.lineno { width: 60px; color: #aaaaaa; font-size: smaller; } +.lineno { width: 60px; color: #aaaaaa; font-size: smaller; + text-align: right; padding-right:1em; } .plusline { color: green; } .minusline { color: red; } .atline { color: purple; }