how to put a border around a div in css code example Example 1: make border to div border: 2px solid black Example 2: how to pageborder in php how to page border in php