xsl-list
[Top] [All Lists]

RE: table-cell dosent wrap

2003-11-02 10:09:38
-----Original Message-----
From Aananth.S

Hi,

  I have a table with 2 columns(40% and 60%).
In a row, if the text in the left column dosent fit within the width, 
then the text wraps but the right columns get automatically added with a 
empty row.how do i prevent this?i have set the *wrap-option* property of 
the block within this cell to *wrap*.Is there something else i need to do?


It's not actually an empty 'row' that's being added, but an empty 'line'.
I don't think this can be avoided... unless by nesting tables. Create a 1-row 
outer table with the specified column-widths, then create a 1-column table in 
each cell with width equal to 100% of the surrounding cell. That way the 
row-height of the table in column 1 will be totally independent of the height 
of the corresponding row in table 2.

Hope this helps!


Greetz,

Andreas


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>