rrrene / tipsy.hovercard

Hovercard extension for tipsy tooltip
http://rrrene.github.io/tipsy.hovercard/
33 stars 3 forks source link

How do I change the align of the html element? #8

Closed hurtworldmap closed 8 years ago

hurtworldmap commented 8 years ago

Hello, thanks for this awesome script.

How can I change the way the html content align? Right now it looks like the element is centered below the element that call it.

I want to make the element that are called to appear a little to the right below .

rrrene commented 8 years ago

You can "move" the hovercard my applying a margin. Try the following CSS and you will see what I mean:

.tipsy-hovercard {
  margin-left: 60px;
  margin-top: -20px;
}
hurtworldmap commented 8 years ago

Thanks, it worked!

I have a suggestion, it is possible to make the tooltip content follow the mouse? Example: http://jsfiddle.net/qTip2/z630aya5/

rrrene commented 8 years ago

I' am glad it worked!

Following the mouse is unfortunately not something this plugin will support :(