|
Posted by soni2926 on 04/09/07 13:33
hi,
if i try the below, using your example:
<body style="font:.8em arial">
<script>
function showHide(E){
var Elm=document.getElementById(E)||{style:{}}
Elm.style.display=Elm.style.display=='none'?'':'none'
}
</script>
<b onclick="showHide('example')" style="text-
decoration:underline">Show Example</b><br>
<span id=example >
some content ....
</span>
<br>hello i'm below the span.....<br>
so am i
</body>
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?
Navigation:
[Reply to this message]
|