Hi Andreas,
This happens only when the surrounding element meets one of
the following conditions:
- It is a table-cell;
- It has no width;
- Its width is set to "auto".
I did this because a percentage of an unknown width is unknown.
This is in fact the interpretation that corresponds to the
definition of the "inline-progression-dimension" property of
XSL-FO. One could say that I should leave the interpretation
to the XSL-FO processor instead of setting it myself, but the
result should be exactly the same and it won't be portable
because of the definition for the value "auto".
The CSS2 spec says that if the width of the "containing block"
is not given, the UA should supply it. I should adhere to that.
I'll investigate it.
Best regards,
Werner.
Andreas Jung wrote:
> I have a table with class=3D"liste1".
>=20
> .liste1 {
> width: 100%
> }
>=20
> This is translated into a fo:table with fo:width=3D"auto".
> When I define
>=20
> .liste1 {
> width:800px;
> }
>=20
> then fo:width is set to "800px"...so how can I make the table to use th=
e
> width of the page?
>=20
> Thanks,
> Andre
> as
--=20
Werner Donn=E9 -- Re
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803 e-mail: wer...@re...
|