add border to a div 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