implement inline border