set up border bottom for an element