Also, I finally got around to looking into why the columns are strange on http://hg.dillo.org/dillo when I have remote style sheets enabled. Each row is a separate table, and the date and submitter fields have fixed widths specified in ems. That seems to work in general, but the problem is that the tables have width specified as 100%, which seems to make the table code forget about the column widths.
On Sun, Dec 27, 2009 at 05:27:08AM +0000, corvid wrote:
Also, I finally got around to looking into why the columns are strange on http://hg.dillo.org/dillo when I have remote style sheets enabled.
Each row is a separate table, and the date and submitter fields have fixed widths specified in ems. That seems to work in general, but the problem is that the tables have width specified as 100%, which seems to make the table code forget about the column widths.
IIRC a CSS-aware user agent can act as if old HTML presentation directives weren't there. Which could apply here. OTOH I don't know whether this would cause more harm. -- Cheers Jorge.-
Jorge wrote:
On Sun, Dec 27, 2009 at 05:27:08AM +0000, corvid wrote:
Also, I finally got around to looking into why the columns are strange on http://hg.dillo.org/dillo when I have remote style sheets enabled.
Each row is a separate table, and the date and submitter fields have fixed widths specified in ems. That seems to work in general, but the problem is that the tables have width specified as 100%, which seems to make the table code forget about the column widths.
IIRC a CSS-aware user agent can act as if old HTML presentation directives weren't there. Which could apply here.
OTOH I don't know whether this would cause more harm.
Let's suppose that it had been specified as <table style="width:100%">, then.
-------- Original-Nachricht --------
Datum: Tue, 29 Dec 2009 13:54:45 +0000 Von: "corvid" <corvid@lavabit.com> An: dillo-dev@dillo.org Betreff: Re: [Dillo-dev] table/cell width problem
Jorge wrote:
On Sun, Dec 27, 2009 at 05:27:08AM +0000, corvid wrote:
Also, I finally got around to looking into why the columns are strange on http://hg.dillo.org/dillo when I have remote style sheets enabled.
Each row is a separate table, and the date and submitter fields have fixed widths specified in ems. That seems to work in general, but the problem is that the tables have width specified as 100%, which seems to make the table code forget about the column widths.
IIRC a CSS-aware user agent can act as if old HTML presentation directives weren't there. Which could apply here.
OTOH I don't know whether this would cause more harm.
Let's suppose that it had been specified as <table style="width:100%">, then.
Enabling the code in dw/table.cc around line 697 seems to change this behaviour. Not sure if it already fixes it though. Cheers, Johannes -- Preisknaller: GMX DSL Flatrate f?r nur 16,99 Euro/mtl.! http://portal.gmx.net/de/go/dsl02
participants (3)
-
corvid@lavabit.com
-
jcid@dillo.org
-
Johannes.Hofmann@gmx.de