Colspan on cell in one row seems to prevent setting TD width in all the other rows. Why?

后端 未结 4 1475
Happy的楠姐
Happy的楠姐 2020-12-31 09:58

I want to create a table which look like this:

+-----------------------------------------------------------+
|January 12th, 2012                                      


        
4条回答
  •  醉梦人生
    2020-12-31 10:22

    I had forgotten that the table has the style 'table-layout: fixed' and this was causing the difficulty. When this style is set the widths of the cells in the first row are applied to all following rows. As the first row contained a colspan I guess IE got confused (FF handles it ok).

    Any way it's not as flexible as I wanted but this worked for me.

    
      
      
    09 January 2012
    LO Customer Name Ltd. Reason for visiting today

提交回复
热议问题