Javascript Reference
Categories: STYLE

javascript STYLE posBottom, posLeft, posRight, posTop

@March 15, 2008, 1:22 a.m.
posBottom, posLeft, posRight, posTopFirefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

Read/Write  

For positionable elements, these properties define the position of the edges of an element's box (content plus padding, border, and/or margin) relative to the corresponding edges of the next outermost block content container. When the element is relative-positioned, the measure is based on the edges of the inline location where the element would normally appear in the content. Most importantly, these properties' values are numeric and in the unit of measure set in the CSS bottom, left, right, or top attribute. Use these properties for calculation (including path animation) instead of the bottom, left, right, and top properties, which store their values as strings with the unit names. All math is in the specified units. Also contrast these properties with the pixelBottom, pixelLeft, pixelRight, and pixelTop properties, which are integer values for pixel measures only. Available as a property of the IE style and runtimeStyle objects only.

 
Example
 
document.getElementById("myDIV").style.posLeft =
  document.getElementById("myDIV").style.posLeft + 1.5;
 
Value

Floating-point number.

 
Default

None.

closed door pharmacy jobs publix pharmacy ocala corners walgreen generic drug list nassau university medical center internal medicine residency at home drug test kit
FastinOnline - 2016-10-28
plant in house
kardozo - 2009-05-26
red sea
maxx0101 - 2009-05-25

Powered by Linode.