fixed layout of top and bottom border