Jump to content

Two problems


simpli

Recommended Posts

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

Link to comment
Share on other sites

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> 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.