views:

12

answers:

0

Hi,

I have an element, any element, upon when clicked, gives me e.pageX value of higher than it should be, by one pixel. For example, if I have a div like:

<div style="width: 129px; height: 129px;"></div>

and I click on it, according to the e.pageX the position was 130px, which can't be true since I clicked on the element. What's up with that?