UK[left] 美[lɛft]

adj. Left, left; leftist

n. Left, left; [military] left; left, radical

adv.To the left; on the left side

v.Leave (past tense and past participle of leave)

Plural: lefts

javascriptleftproperty syntax

Function:Set the offset between the left margin boundary of the positioned element and the left boundary of its containing block.

Syntax:Object.style.left=auto|%|length

Comments:If the value of the "position" attribute is "static" , then setting the "left" attribute will have no effect.

javascriptleftproperty example

    

Run instance »

Click the "Run instance" button to view the online instance