Added support for margin element