src code

instance method Element#makePositioned

Element#makePositioned() → Element

Allows for the easy creation of a CSS containing block by setting element's CSS position to relative if its initial position is either static or undefined.

This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.