Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q1378 What's the difference between the Microsoft Internet Explorer style properties 'posTop', 'top' and 'pixelTop'?

You are here: irt.org | FAQ | DHTML | Q1378 [ previous next ]

posLeft, posTop, left, top, pixelLeft, pixelTop: define the position of the left and top edges of an element's box relative to the left and top edges of the next outermost block content container.

posLeft and posTop values are numeric and in the unit of measure set in the CSS attribute (which may not be set, therefore these values may be empty.)

top and left values are strings with the unit names.

pixelLeft and pixelTop values are integers in pixels.

Use pixelLeft and pixelTop!

©2018 Martin Webb