Margin attribute added.

Margin attribute (definable as function) added.