• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Tool tip render location

#1
Hey guys, I am designing a rankings table and I am having an issue with the layout and the relationship with the tool tip. Below is an image showing how the tool tip is rendering above the top-left of the value. Any ideas?

tooltip.png
 

James

Well-known member
#2
Without seeing some source code it'll be hard to help you.

It looks like you can offset the positions using the following HTML attributes:
data-offsetX
data-offsetY
data-position (accepts top, right or left)
 

James

Well-known member
#4
If I could see the source code (i.e. your site is online) it'd be easier to debug, because the JS auto-offsets depending on the location of the current element. The width of the element you could grab using {xen:calc}.
 

James

Well-known member
#6
Can't change any of the data to play around with it, damn.

You should try applying a data-position="right" to the element, seeing if that changes it.