simpli Posted March 31, 2009 Share Posted March 31, 2009 Hi, I built a table to which I have added the collapsing behavior. Firstly my table is really ugly and I'd like to improve that. Although I have specified no border, The division between my cells is showing. I know because is dark so I see the white strips that form the border between the cells. Secondly, the data in my detail cells is larger than that in my summary cells so when I collapse, the horizontal size of the table changes as well and it makes for a really weird behaviour. How could I fix the width of the column to the largest they ever get and keep that width even when I collapse the rows? Thanks for letting me know. J-R Quote Link to comment Share on other sites More sharing options...
Festy Posted March 31, 2009 Share Posted March 31, 2009 Can you please post your code ? Quote Link to comment Share on other sites More sharing options...
simpli Posted March 31, 2009 Author Share Posted March 31, 2009 Here's an extract of my html: <html><head><title>Resultats</title></head> <body></br><table><tr> <td>Nom/Choix</td><td>Points</td><td>Points bonis</td><td>total</td></tr> <tr TR BGCOLOR="#99CCFF" onclick="ShowHide('tb_jeanru')"><td>jeanru</td><td>0</td><td>0</td><td>0</td></tr> <tbody id='tb_jeanru' ><tr><td>Buffalo en 4</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>New York Rangers en 4</td><td>0</td><td>0</td><td>0</td></tr> <tr><td>New Jersey en 4</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>Philadelphie en 4</td><td>0</td><td>0</td><td>0</td></tr> <tr><td>Dallas en 4</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>Minnesota en 4</td><td>0</td><td>0</td><td>0</td></tr> <tr><td>Calgary en 4</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>Chicago en 4</td><td>0</td><td>0</td><td>0</td></tr> <tr><td>,j</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>asd</td><td>0</td><td>0</td><td>0</td></tr> <tr><td>asdf</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>asdfsad</td><td>0</td><td>0</td><td>0</td></tr> <tr><td>jlk</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>kj</td><td>0</td><td>0</td><td>0</td></tr> <tr><td>kjas</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>kjl</td><td>0</td><td>0</td><td>0</td></tr> <tr><td>lk</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>lkj</td><td>0</td><td>0</td><td>0</td></tr> <tr> <td>Evgeni Nabokov</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>Finaliste: San Jose</td><td>0</td><td>0</td><td>0</td></tr> <tr><td>Finaliste: boston</td><td>0</td><td>0</td><td>0</td></tr> <tr bgcolor=" #B4CFEC"><td>Champion: boston</td><td>0</td><td>0</td><td>0</td></tr> </tbody><tr TR BGCOLOR="#99CCFF" onclick="ShowHide('tb_maggie')"><td>maggie</td><td>0</td><td>0</td><td>0</td></tr> </body></html> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.