Try using position absolute, instead of relative. Your left and top coords will have to be different, however, oftentimes a position absolute element with no left and top will display in place. The problem you are having is that with relative position, the element takes up layout space and is pushing the rest of the content down. You might notice the scrollbar on the right showing that the page has gotten longer. I'd also try this:
Code:
.popup a span {
display: none;
position:absolute;
top:150%;
left:42%;
}
a:hover {text-indent:0;}
.popup a:hover span {
display: block;
border: 3px ridge maroon;
width: 125px;
padding: 5px; margin: 10px; z-index: 100;
color: maroon; background: #FFFFcc;
font: 10px "Trebuchet MS", sans-serif; text-align: left; text-decoration: none;
}
But, from playing around with this a little bit, I suspect that your layout may make things different in different browsers. You might want to look into a pop up script, where the pop up is outside the flow of the document completely and therefore easier to position.
Bookmarks