[jQuery] Re: hide divs with float:left and show them again

2009-08-20 Thread Kevin
Is the layout broken initially or only after you hide/show the content? When you inspect the DIVs in Firebug, do they still have their float properties assigned? Are you specifying a width on the boxes? Posting example code always helps other developers troubleshoot your issues faster =) On Aug 2

[jQuery] Re: hide divs with float:left and show them again

2009-08-20 Thread Mauricio (Maujor) Samy Silva
When you remove a floated element from the flow of a document its position is occupied by the next float and this causes the ruin! To preserve the space leaving by a removed div how about use: css('visibility', 'hidden'); istead of show() MaurĂ­cio -Mensagem Original- De: simusch P