adjusts border on legislation elements