Topic: Problems with showing/hiding divs and spans

I am creating a worship planning project where when you hover over a service element, it reveals the editing controls for that particular element.  I have written onmouseover and onmouseout JS commands to take care of showing/hiding the elements.  However, the problem is this:  Once the span with the edit controls is visible, if you hover over one of the control links, the controls disappear.  Is there any way to basically have that span considered a part of the div that is being used to reveal it?