Do you know the revision number you are using? I believe the latest revision should fix this issue. I've recreated the simple test case you provided with the latest revision of jQuery here: http://brandon.jquery.com/testing/kolman/
Does that still break for you? BTW ... tables are a royal pain. I would surround the table with a div and toggle the div instead of the table. -- Brandon Aaron On 11/17/06, Kolman Nándor <[EMAIL PROTECTED]> wrote: > My styles are in a stylesheet, I just wrote this example to be as simple as > possible. > Since I wrote my initial letter I recognized that the problem exists in > Firefox2 only. IE works fine. > > Nandi > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Aaron > Sent: Friday, November 17, 2006 3:26 PM > To: jQuery Discussion. > Subject: Re: [jQuery] width bug with hide and show > > 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/ > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
