You'd need to remove the <br />
I"m not sure if you're allowed to do this, but could you apply a
class to the br as well?
Or even worse, nest the br in the span?
T
On 2 Jul 2007, at 14:39, Adrian Lynch 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
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 &
Flex 2
Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282709
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4