RE: table-cell dosent wrap
> -----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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format