Lovely! Thanks David.
-----Original Message----- From: David Low [mailto:[EMAIL PROTECTED] Sent: 02 July 2007 14:44 To: CF-Talk Subject: Re: OT - Gap when making element invisible Put the <br /> tags inside the spans? On 7/2/07, Adrian Lynch <[EMAIL PROTECTED]> wrote: > I have three spans: > > <span id="span_1">1</span><br /> > <span id="span_2">2</span><br /> > <span id="span_3">3</span> > > Which gives me output: > > 1 > 2 > 3 > > If I make the middle one invisible with script: > > document.getElementById("span_2").style.visibility = "hidden"; > > It leaves a gap like so: > > 1 > > 3 > > How would I make that gap close up leaving me with: > > 1 > 3 > > Adrian Lynch > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282711 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

