Try putting the <br /> inside the span and hiding it with display='none' instead of visibility='hidden'
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Monday, July 02, 2007 9:39 AM To: CF-Talk Subject: OT - Gap when making element invisible 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282713 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

