From: Alexander Peshkov (firstname.lastname@example.org)
Date: Wed May 05 2004 - 07:54:42 PDT
If you want to make sure that your table will fill all available space
just provide it with margin-left="0pt" margin-right="0pt".
Alexander Peshkov mailto:email@example.com
WD> Thank you for the explanation Alexander.
WD> I have one more question though. If I remove the width specification the
WD> width will in fact become "auto". What can guarantee then that the area
WD> of the parent formatting object is filled up. "auto" means that all other
WD> constraints are taken into account. Couldn't this also imply that the nested
WD> table will be just wide enough to contain its contents? Isn't this left to
WD> the particular implementation? XSL Formatter, for example, does not make the
WD> nested table fill up the area, while XEP does.
WD> Alexander Peshkov wrote:
>> Hello Werner,
>> Table width="100%" means that content-rectangle of the table will be
>> as wide as content-rectangle of the parent reference-area. Borders are
>> drawn outside of the content rectangle and thus total width of the
>> table with borders became larger then available space. That is that
>> you have for the nested tables - their layout is over-constrained and
>> they get clipped on the right. If you remove width specification from
>> the tables you will achieve desired behavior.
>> Best regards,
>> Alexander Peshkov mailto:firstname.lastname@example.org
>> WD> Dear,
>> WD> The attached small example consists of three nested tables with borders
>> WD> and margins. The width of the table elements is set to "100%". Because
>> WD> everything is specified in the same way onf the left and right side I
>> WD> would expect the same visual effect on both sides. On the right side,
>> WD> however, the borders are all on top of each other. When I remove the
>> WD> width properties the result is as expected.
>> WD> I don't see why there is a difference. The width properties map to
>> WD> inline-progression-dimension in this case and because the containing
>> WD> block hasn't specified the width property, the percentage value should
>> WD> be treated as "auto".
>> WD> Regards,
>> WD> Werner.
>> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>> in the body of the message to email@example.com from the address
>> you are subscribed from.
>> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to firstname.lastname@example.org from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Wed May 05 2004 - 08:06:05 PDT