IE display issue
TK Soh
teekaysoh at yahoo.com
Thu Sep 22 22:51:35 CDT 2005
--- Thomas Arendsen Hein <thomas at intevation.de> wrote:
> * TK Soh <teekaysoh at yahoo.com> [20050902 02:35]:
> > --- Thomas Arendsen Hein <thomas at intevation.de> wrote:
> > > * TK Soh <teekaysoh at yahoo.com> [20050830 05:27]:
> > > > Hg repo revlog don't seem to get displayed correctly on IE (v6.0). The
> > > > changesets seemed to get pushed to the right side, instead of the
> > > > left-justified as seen on firefox (v1.0.6).
> > >
> > > Can reproduce it, the two table columns seem to have the same width.
> >
> > I am a bit confused. Do you mean the display is okay on both IE and
> firefox?
>
> No, I said "table columns", not "tables".
>
> The left column and the right column each have the same width, when
> rendered with IE.
>
> With firefox the left column is smaller, which is the correct
> behaviour.
IE is the standard browser in my company, so I really have to get it fixed. No
web programmer myself, but here's my quick hack. I hope it doesn't break other
browsers (or other hgweb pages?)
# HG changeset patch
# User TK Soh <teekaysoh at yahoo.com>
# Node ID f633955e9d852205a7892f8b0141b22bafbddfc5
# Parent 9ab14ca22e378a26c5c70406d2be9992000e16c0
hgweb: fixed IE display problem on changelog page
IE (v6.0) didn't seemed to comply to the 15% width on the
left column of changelog display.
Tested with IE v6.0 and Firefox 1.0.6.
diff -r 9ab14ca22e37 -r f633955e9d85 templates/changelogentry.tmpl
--- a/templates/changelogentry.tmpl Sat Sep 17 07:37:14 2005
+++ b/templates/changelogentry.tmpl Fri Sep 23 03:18:19 2005
@@ -1,6 +1,6 @@
<table class="changelogEntry parity#parity#">
<tr>
- <th class="age">#date|age# ago:</th>
+ <th class="age" width="15%">#date|age# ago:</th>
<th class="firstline">#desc|firstline|escape#</th>
</tr>
<tr>
@@ -21,4 +21,4 @@
<th class="files"><a
href="?cmd=manifest;manifest=#manifest#;path=/">files</a>:</th>
<td class="files">#files#</td>
</tr>
-</table>
\ No newline at end of file
+</table>
diff -r 9ab14ca22e37 -r f633955e9d85 templates/header.tmpl
--- a/templates/header.tmpl Sat Sep 17 07:37:14 2005
+++ b/templates/header.tmpl Fri Sep 23 03:18:19 2005
@@ -32,7 +32,7 @@
/* Changelog entries */
.changelogEntry { width: 100%; }
-.changelogEntry th { font-weight: normal; text-align: right; vertical-align:
top; width: 15%;}
+.changelogEntry th { font-weight: normal; text-align: right; vertical-align:
top; }
.changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
.changelogEntry th.firstline { text-align: left; width: inherit; }
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
More information about the Mercurial
mailing list