The problem here is the inline style which is considered bad practice.
The inline style is going to get overridden by the animation. Please
put your styles in a stylesheet and this will resolve the issue.
--
Brandon Aaron
On 11/17/06, Kolman Nándor <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi!
>
>
>
> I have the following HTML structure:
>
> <div>
>
> <h1>title</h1>
>
> <table style="width: 400px;">
>
> …
>
> </table>
>
> </div>
>
> <div>close/open</div>
>
>
>
> I make the table disappear/reappear by clicking the „close/open" div using
> hide('fast') and show('fast').
>
> After closing and opening, the table seems to forget the width setting.
>
>
>
> Is there a way to solve this problem other then setting the width each time
> table is shown?
>
>
>
> Nandi
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/