tags:

views:

30

answers:

1
  <div id="content">
<div class="container">
  <!--start side column-->
  <div class="side-col">
    <div class="searchmodule-header-container"> 
    </div>
    <div class="searchmodule-header-container">
      <div class="searchmodule-header">
      </div>
    </div>
    <div class="searchmodule-content-container">
      <div class="searchmodule-content">
        <div class="menu">

        </div>
        <div class="menu">
          <ul>

            <li><a href="#" class="tooltiplink">Title <span class="tooltip"><span class="top"></span> <span class="middle">   I triggered this using Jsp dynamic page  </span><span class="bottom"></span></span></a></li>

          </ul>
        </div>

      </div>
    </div>

  </div>

  <div class="main-col">
    <div class="content-header">

    </div>

      <div class="form-container">
      </div>
</div>

In css i just used images to sandwich the content . But when i hover on the link the tooltip is only visible in its container . So how can i get the tooltip(let it be image ) irrespective of the div .

Thanks in advance

+1  A: 

From what I understand, I think you are having the tooltip show up in the 'area' it was defined in and you want it to pop up and hover/float near/over the element.

You would need to define your tooltips position [relative/absolute]. That should float it above the rest of the content, with a combination of z-index: value.

Hopefully that is what you are asking, I am making many assumptions here based on your question.

Jakub
thanx a ton Jakub ..thats what i want and can you be more precise i tried using Z index but :(
Praneel
`z-index` sets the 'stack order' (think layers in photoshop) of elements, z-index:0 is the default (i believe) and setting a `z-index:1` would put an element into the 1 higher level (layer in ps terms). More info here: http://www.w3schools.com/css/pr_pos_z-index.asp
Jakub