logo       

Re: [jQuery] Possible changes to hide/show: msg#01220

lang.javascript.jquery

Subject: Re: [jQuery] Possible changes to hide/show

John Resig schrieb:
> For animating the height of a row, you need to animate the contents of
> every single cell within the row, for example:
>
> <tr>
> <td><div style="height: 10px;overflow:hidden;">test</div></td>
> <td><div style="height: 10px;overflow:hidden;">hello</div></td>
> </tr>
>
> This is because, in the HTML spec "the height of a row is as tall as
> its tallest column" (or some such).

Just another thought: if you set "table-layout: fixed;" tables start to
behave differently concerning computing the width. Maybe height is also
affected...

-- Klaus


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise