hey there...
it's the <p> tag after the span.

try putting the text in a <span> vs. putting it in a <p>

..tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337 

-----Original Message-----
From: FlashGuy [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 14, 2002 10:28 AM
To: CF-Talk
Subject: OT: Cont'd from previous thread - Expanding menu


Sorry to keep bugging you on this subject but I've messed with the <span
style attributes and I can't get the whitespace removed above the
paragraph text. I've tried them all. 
What am I doing wrong?


-- begin script

var ie = document.all? true : false;
var ns4 = document.layers? true : false;
var dom = document.getElementById && !document.all ? true : false;

function getObject(nameStr) {
    if (dom) {
       return document.getElementById( nameStr );
    }
    else if (ie) {
       return document.all[nameStr];
    }
    else if (ns4) {
       return document.layers[nameStr];
    }
}
function popUp(boxName,on) {
    objLayer = getObject(boxName);
    if (on)
       objLayer.style.visibility = ns4 ? "show" : "visible";
    else
       objLayer.style.visibility = ns4 ? "hide" : "hidden";
}

-- end script


<span id="control" style="position:absolute;visibility:visible;">
  <a href="javascript:popUp('code',true);">Maximize</a>
</span>

<span id="code"
style="position:relative;visibility:hidden;background:white;">
  <a href="javascript:popUp('code',false);">Minimize</a><br>
  <a href="fileactions/folder-new.cfm" target="display">[New]</a>&nbsp;
  <a href="fileactions/folder-rename.cfm" target="display">[Rename]</a>
</span>

<p>It comes in the night, a flying sphere emitting red and blue lights
that 
attacks villagers in this poor region, extensively burning those victims
it does not kill. At least that's what panic-stricken villagers say. At
least seven people have died of unexplained injuries in the past week in
Uttar Pradesh state.</p>





______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to