#1659 new
Karl Stubsjoen

margin-left Measure top bug

Reported by Karl Stubsjoen | January 20th, 2013 @ 08:04 AM

Measuring the top of an absolutely positioned div element with a margin-left value > 0 results in a bad top measurement. I'm getting a negative value. I've attached a sample HTML and script that I have tested with.
It does not seem to be an issue if you use the left property instead of margin-left.

Thanks Karl..

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

People watching this ticket

Attachments

Pages