Ok. I had moved the border from li .inner to li. It works.