allow a configurable width and margin