add border and margin