|
Posted by scripts.contact on 04/09/07 18:36
On Apr 9, 7:33 am, soni2...@yahoo.com wrote:
> hi,
> if i try the below, using your example:
....
> it hides, but when it does it leaves a gap above "hello i'm below..."
> while that microsoft page, it didn't leave a gap when hidden. anyway
> to avoid that gap?
yes.
this is the html content-
<b >Show Example</b>
<br>
<span>some content ....</span>
<br>
hello i'm below the span.....
<br>
so am i
after hiding the span element :
<b >Show Example</b>
<br>
<br>
hello i'm below the span.....
<br>
so am i
----------
as you can see, now there are 2 line breaks.
To avoid this, put one <br> inside the span element :
<b>Show Example</b><br>
<span id=example >
some content ....
<br>
</span>
hello i'm below the span.....<br>
so am i
: )
[Back to original message]
|