<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Pagination with Borders</title> <style type="text/css"> .container { height: 500px; background: lime; border: 10px green; border-style: none solid; } .long { background: aqua; width: 40px; height: 500px; } .body { height: 200px; width: 300px; column-width: 100px; column-gap: 0; column-fill: auto; border: solid silver; border-style: none solid; background: yellow; } </style> </head> <body> <div class="body"> <div class="container"> <div class="long"> </div> </div> </div> </body> </html>