IE5 CSS borders When you set a border to the , the border is attached to the browser's UI and is outside the scrollbar. On modern browsers, the border is inside the scrollbar and the bottom part of the border is only visible if you scroll to the end of the page. In IE5, the bottom part of the border is always visible. Here is a screenshot of my website's blue border.